mirror of
https://github.com/vuejs/vue.git
synced 2024-11-21 20:28:54 +00:00
fix(types): fix type augmentation and compiler-sfc types w/moduleResolution: bundler (#13107)
close #13106
This commit is contained in:
parent
45d6ad6645
commit
de0b97b3ea
@ -18,19 +18,20 @@
|
|||||||
],
|
],
|
||||||
"exports": {
|
"exports": {
|
||||||
".": {
|
".": {
|
||||||
|
"types": "./types/index.d.ts",
|
||||||
"import": {
|
"import": {
|
||||||
"node": "./dist/vue.runtime.mjs",
|
"node": "./dist/vue.runtime.mjs",
|
||||||
"default": "./dist/vue.runtime.esm.js"
|
"default": "./dist/vue.runtime.esm.js"
|
||||||
},
|
},
|
||||||
"require": "./dist/vue.runtime.common.js",
|
"require": "./dist/vue.runtime.common.js"
|
||||||
"types": "./types/index.d.ts"
|
|
||||||
},
|
},
|
||||||
"./compiler-sfc": {
|
"./compiler-sfc": {
|
||||||
|
"types": "./compiler-sfc/index.d.ts",
|
||||||
"import": "./compiler-sfc/index.mjs",
|
"import": "./compiler-sfc/index.mjs",
|
||||||
"require": "./compiler-sfc/index.js"
|
"require": "./compiler-sfc/index.js"
|
||||||
},
|
},
|
||||||
"./dist/*": "./dist/*",
|
"./dist/*": "./dist/*",
|
||||||
"./types/*": "./types/*",
|
"./types/*": ["./types/*.d.ts", "./types/*"],
|
||||||
"./package.json": "./package.json"
|
"./package.json": "./package.json"
|
||||||
},
|
},
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
|
Loading…
Reference in New Issue
Block a user