Skip to content

Commit 1a2d483

Browse files
committed
fix: package exports and types
1 parent 9d85cc8 commit 1a2d483

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

package.json

+6-7
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,19 @@
2121
],
2222
"sideEffects": false,
2323
"exports": {
24-
".": {
25-
"import": "./dist/index.mjs"
26-
},
27-
"./nuxt": {
28-
"import": "./dist/nuxt/module.mjs"
29-
}
24+
".": "./dist/index.mjs",
25+
"./nuxt": "./dist/nuxt/module.mjs"
3026
},
3127
"module": "./dist/index.mjs",
32-
"types": "./dist/index.d.ts",
28+
"types": "./dist/index.d.mts",
3329
"typesVersions": {
3430
"*": {
3531
"*": [
3632
"./dist/*",
3733
"./*"
34+
],
35+
"nuxt": [
36+
"./dist/nuxt/module.d.mts"
3837
]
3938
}
4039
},

0 commit comments

Comments
 (0)