Skip to content

Commit

Permalink
package.json exports (vite compatibility)
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHung authored Jul 17, 2022
1 parent 6c41339 commit 71b14b6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 71b14b6

Please sign in to comment.