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);
|