mirror of
https://github.com/chartjs/Chart.js
synced 2025-04-29 15:47:20 +08:00
Specify module for Webpack 4 (#11037)
This commit is contained in:
parent
300e2119d8
commit
b2b881b9b1
@ -4,6 +4,7 @@
|
||||
"description": "Auto registering package. Exists to support bundlers without exports support such as webpack 4.",
|
||||
"type": "module",
|
||||
"main": "./auto.cjs",
|
||||
"module": "./auto.js",
|
||||
"exports": {
|
||||
"types": "./auto.d.ts",
|
||||
"import": "./auto.js",
|
||||
|
@ -4,6 +4,7 @@
|
||||
"description": "Helpers package. Exists to support bundlers without exports support such as webpack 4.",
|
||||
"type": "module",
|
||||
"main": "./helpers.cjs",
|
||||
"module": "./helpers.js",
|
||||
"exports": {
|
||||
"types": "./helpers.d.ts",
|
||||
"import": "./helpers.js",
|
||||
|
@ -13,6 +13,7 @@
|
||||
"jsdelivr": "./dist/chart.umd.js",
|
||||
"unpkg": "./dist/chart.umd.js",
|
||||
"main": "./dist/chart.cjs",
|
||||
"module": "./dist/chart.js",
|
||||
"exports": {
|
||||
".": {
|
||||
"types": "./dist/types.d.ts",
|
||||
|
Loading…
x
Reference in New Issue
Block a user