ES6 Module support
Open
type: enhancement
- Dominant language
- JavaScript
- Stars
- 67.7k
- Forks
- 11.9k
- Avg merge
- 7h 39m
- Merged PRs (30d)
- 5
Description
### Feature Proposal
Rather than a script element and a global, it would be convenient to be able to import Chart as an ES6 module. For example:
`import {Chart} from "https://cdn.jsdelivr.net/npm/chart.js";`
Currently, `import * as chart from "https://cdn.jsdelivr.net/npm/chart.js";` works, but does not provide any functionality (so far as I can tell).
Is this something that would be worth adding?
### Possible Implementation
_No response_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.