Skip to content

Commit de0b97b

Browse files
fix(types): fix type augmentation and compiler-sfc types w/moduleResolution: bundler (#13107)
close #13106
1 parent 45d6ad6 commit de0b97b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

package.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,20 @@
1818
],
1919
"exports": {
2020
".": {
21+
"types": "./types/index.d.ts",
2122
"import": {
2223
"node": "./dist/vue.runtime.mjs",
2324
"default": "./dist/vue.runtime.esm.js"
2425
},
25-
"require": "./dist/vue.runtime.common.js",
26-
"types": "./types/index.d.ts"
26+
"require": "./dist/vue.runtime.common.js"
2727
},
2828
"./compiler-sfc": {
29+
"types": "./compiler-sfc/index.d.ts",
2930
"import": "./compiler-sfc/index.mjs",
3031
"require": "./compiler-sfc/index.js"
3132
},
3233
"./dist/*": "./dist/*",
33-
"./types/*": "./types/*",
34+
"./types/*": ["./types/*.d.ts", "./types/*"],
3435
"./package.json": "./package.json"
3536
},
3637
"sideEffects": false,

0 commit comments

Comments
 (0)