Allow ESM files to be used in Node.js (#10479)

Allow ESM files to be used in Node.js
This commit is contained in:
Ben McCann
2022-07-30 08:25:23 -07:00
committed by GitHub
parent 844270eb5e
commit 6feb48b5ef
14 changed files with 48 additions and 31 deletions

View File

@@ -1,3 +1,3 @@
// Add Chart components needed in samples here.
// Usable through `components[name]`.
export {Tooltip} from '../../dist/chart.esm';
export {Tooltip} from '../../dist/chart.mjs';