Skip to content

Commit 71b14b6

Browse files
authored
package.json exports (vite compatibility)
1 parent 6c41339 commit 71b14b6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@
2525
"unpkg": "dist/xlsx.full.min.js",
2626
"jsdelivr": "dist/xlsx.full.min.js",
2727
"types": "types/index.d.ts",
28+
"exports": {
29+
".": {
30+
"import": "./xlsx.mjs",
31+
"require": "./xlsx.js"
32+
}
33+
},
2834
"browser": {
2935
"buffer": false,
3036
"crypto": false,

0 commit comments

Comments
 (0)