mirror of
https://github.com/chartjs/Chart.js.git
synced 2025-12-08 20:36:08 +00:00
fix: package.json fields fixes for old jest-resolver versions (#11033)
This commit is contained in:
parent
fd505acced
commit
2cde2bf41d
@ -3,7 +3,11 @@
|
||||
"private": true,
|
||||
"description": "Auto registering package. Exists to support bundlers without exports support such as webpack 4.",
|
||||
"type": "module",
|
||||
"main": "auto.js",
|
||||
"exports": "./auto.js",
|
||||
"types": "auto.d.ts"
|
||||
"main": "./auto.cjs",
|
||||
"exports": {
|
||||
"types": "./auto.d.ts",
|
||||
"import": "./auto.js",
|
||||
"require": "./auto.cjs"
|
||||
},
|
||||
"types": "./auto.d.ts"
|
||||
}
|
||||
|
||||
@ -3,7 +3,11 @@
|
||||
"private": true,
|
||||
"description": "Helpers package. Exists to support bundlers without exports support such as webpack 4.",
|
||||
"type": "module",
|
||||
"main": "helpers.js",
|
||||
"exports": "./helpers.js",
|
||||
"types": "helpers.d.ts"
|
||||
"main": "./helpers.cjs",
|
||||
"exports": {
|
||||
"types": "./helpers.d.ts",
|
||||
"import": "./helpers.js",
|
||||
"require": "./helpers.cjs"
|
||||
},
|
||||
"types": "./helpers.d.ts"
|
||||
}
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
],
|
||||
"jsdelivr": "./dist/chart.umd.js",
|
||||
"unpkg": "./dist/chart.umd.js",
|
||||
"main": "./dist/chart.js",
|
||||
"main": "./dist/chart.cjs",
|
||||
"exports": {
|
||||
".": {
|
||||
"types": "./dist/types.d.ts",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user