Skip to content

Commit 4439ddf

Browse files
committed
fix: fix incorrect package exports, close #135
1 parent 8a9b8fa commit 4439ddf

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

vite-plugin-mock-dev-server/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,26 +20,26 @@
2020
"exports": {
2121
".": {
2222
"import": {
23-
"types": "./dist/index.d.ts",
24-
"default": "./dist/index.js"
23+
"types": "./dist/index.d.mts",
24+
"default": "./dist/index.mjs"
2525
}
2626
},
2727
"./helper": {
2828
"import": {
29-
"types": "./dist/helper.d.ts",
30-
"default": "./dist/helper.js"
29+
"types": "./dist/helper.d.mts",
30+
"default": "./dist/helper.mjs"
3131
}
3232
},
3333
"./server": {
3434
"import": {
35-
"types": "./dist/server.d.ts",
36-
"default": "./dist/server.js"
35+
"types": "./dist/server.d.mts",
36+
"default": "./dist/server.mjs"
3737
}
3838
},
3939
"./package.json": "./package.json"
4040
},
41-
"main": "dist/index.js",
42-
"types": "dist/index.d.ts",
41+
"main": "dist/index.mjs",
42+
"types": "dist/index.d.mts",
4343
"files": [
4444
"dist"
4545
],

0 commit comments

Comments
 (0)