Skip to content

Commit eb7e26d

Browse files
committed
chore: add mkdist type definition into dist
1 parent a55c7c0 commit eb7e26d

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

package.json

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,17 @@
88
"repository": "nuxt-contrib/vue-sfc-transformer",
99
"sideEffects": false,
1010
"exports": {
11-
".": "./dist/index.mjs",
12-
"./mkdist": "./dist/mkdist.mjs"
11+
".": {
12+
"types": "./dist/index.d.mts",
13+
"import": "./dist/index.mjs"
14+
},
15+
"./mkdist": {
16+
"types": "./dist/mkdist.d.mts",
17+
"import": "./dist/mkdist.mjs"
18+
}
1319
},
1420
"main": "./dist/index.mjs",
1521
"module": "./dist/index.mjs",
16-
"typesVersions": {
17-
"*": {
18-
".": [
19-
"./dist/index.d.mts"
20-
],
21-
"./*": [
22-
"./dist/*"
23-
]
24-
}
25-
},
2622
"files": [
2723
"dist"
2824
],

0 commit comments

Comments
 (0)