mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 04:09:08 +02:00
bc84a98ec6
* fix: hotfix chart.js/auto for commonjs * fix: add auto.cjs to side effects
7 lines
170 B
JavaScript
7 lines
170 B
JavaScript
const chartjs = require('../dist/chart.cjs');
|
|
const {Chart, registerables} = chartjs;
|
|
|
|
Chart.register(...registerables);
|
|
|
|
module.exports = Object.assign(Chart, chartjs);
|