Skip to content

Commit fa1aa74

Browse files
committed
build: update file extension to .mts
1 parent 31d409a commit fa1aa74

File tree

2 files changed

+134
-133
lines changed

2 files changed

+134
-133
lines changed

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
},
1212
"sideEffects": false,
1313
"exports": {
14-
".": "./dist/index.js"
14+
".": "./dist/index.mjs"
1515
},
16-
"main": "./dist/index.js",
17-
"module": "./dist/index.js",
18-
"types": "./dist/index.d.ts",
16+
"main": "./dist/index.mjs",
17+
"module": "./dist/index.mjs",
18+
"types": "./dist/index.d.mts",
1919
"files": [
2020
"dist"
2121
],
@@ -45,7 +45,7 @@
4545
"eslint": "9.39.2",
4646
"lint-staged": "16.2.6",
4747
"simple-git-hooks": "2.13.1",
48-
"tsdown": "0.15.12",
48+
"tsdown": "0.18.1",
4949
"typescript": "5.9.3",
5050
"unstorage": "1.17.2",
5151
"vite": "7.3.0",

0 commit comments

Comments
 (0)