Fix chart.js import error

This commit is contained in:
Starbeamrainbowlabs 2022-05-01 16:40:26 +01:00
parent 25be40c76b
commit fc95cb6cc7
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ import CreateElement from '../../node_modules/dom-create-element-query-selector/
import moment from 'moment';
// import Chart from 'chart.js';
// Chart.js pollutes the global scope, but the main entry point is going to change soon in v2.8 - which should fix our issue here
import Chart from '../../node_modules/chart.js/dist/Chart.bundle.min.js';
import Chart from '../../node_modules/chart.js/dist/chart.esm.js';
import Config from './Config.mjs';