mirror of
https://github.com/ConnectedHumber/Air-Quality-Web
synced 2024-12-21 10:25:00 +00:00
Tweak chart.js import again
This commit is contained in:
parent
fc95cb6cc7
commit
cb08518fc8
1 changed files with 1 additions and 1 deletions
|
@ -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.esm.js';
|
||||
import * as Chart from '../../node_modules/chart.js/dist/chart.esm.js';
|
||||
|
||||
import Config from './Config.mjs';
|
||||
|
||||
|
|
Loading…
Reference in a new issue