Skip to content

Commit cefd73a

Browse files
committed
fix: 🐛 update package exports
1 parent 45ce470 commit cefd73a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,14 @@
1717
"type": "module",
1818
"exports": {
1919
"./loader": {
20-
"import": "./dist/loader/htmlLoader.cjs"
20+
"require": "./dist/loader/htmlLoader.cjs",
21+
"default": "./dist/loader/htmlLoader.cjs"
2122
},
2223
".": {
2324
"types": "./dist/index.d.ts",
2425
"require": "./dist/index.cjs",
25-
"import": "./dist/index.js"
26+
"import": "./dist/index.js",
27+
"default": "./dist/index.js"
2628
},
2729
"./package.json": "./package.json"
2830
},

0 commit comments

Comments
 (0)