We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 664ea49 commit 6430b34Copy full SHA for 6430b34
build.config.ts
@@ -1,6 +1,7 @@
1
import { defineBuildConfig } from 'unbuild'
2
3
export default defineBuildConfig({
4
+ declaration: 'node16',
5
externals: [
6
'@vue/compiler-dom-types',
7
],
package.json
@@ -8,18 +8,14 @@
8
"repository": "nuxt-contrib/vue-sfc-transformer",
9
"sideEffects": false,
10
"exports": {
11
- ".": {
12
- "types": "./dist/index.d.mts",
13
- "import": "./dist/index.mjs"
14
- }
+ ".": "./dist/index.mjs"
15
},
16
"main": "./dist/index.mjs",
17
"module": "./dist/index.mjs",
18
19
"typesVersions": {
20
"*": {
21
"*": [
22
- "./dist/index.d.ts"
+ "./dist/index.d.mts"
23
]
24
}
25
0 commit comments