package.json exports (vite compatibility)

This commit is contained in:
Brian Hung 2022-07-17 14:51:39 -07:00 committed by GitHub
parent 6c41339fc0
commit 71b14b63da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -25,6 +25,12 @@
"unpkg": "dist/xlsx.full.min.js",
"jsdelivr": "dist/xlsx.full.min.js",
"types": "types/index.d.ts",
"exports": {
".": {
"import": "./xlsx.mjs",
"require": "./xlsx.js"
}
},
"browser": {
"buffer": false,
"crypto": false,