Skip to content

Commit 26efbd5

Browse files
🔧 config(package.json): Attempt to fix exports.
1 parent cb0d211 commit 26efbd5

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

package.json

+9-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,15 @@
2626
"main": "dist/index.js",
2727
"module": "dist/index.module.js",
2828
"unpkg": "dist/index.umd.js",
29-
"exports": "./dist/index.modern.js",
29+
"umd:main": "dist/index.umd.js",
30+
"exports": {
31+
".": {
32+
"browser": "./dist/index.module.js",
33+
"umd": "./dist/index.umd.js",
34+
"require": "./dist/index.js",
35+
"default": "./dist/index.modern.js"
36+
}
37+
},
3038
"files": [
3139
"dist"
3240
],

0 commit comments

Comments
 (0)