fix(types): fix type augmentation and compiler-sfc types w/moduleResolution: bundler (#13107)

close #13106
This commit is contained in:
Adam Hines 2023-12-06 00:52:18 -07:00 committed by GitHub
parent 45d6ad6645
commit de0b97b3ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,19 +18,20 @@
],
"exports": {
".": {
"types": "./types/index.d.ts",
"import": {
"node": "./dist/vue.runtime.mjs",
"default": "./dist/vue.runtime.esm.js"
},
"require": "./dist/vue.runtime.common.js",
"types": "./types/index.d.ts"
"require": "./dist/vue.runtime.common.js"
},
"./compiler-sfc": {
"types": "./compiler-sfc/index.d.ts",
"import": "./compiler-sfc/index.mjs",
"require": "./compiler-sfc/index.js"
},
"./dist/*": "./dist/*",
"./types/*": "./types/*",
"./types/*": ["./types/*.d.ts", "./types/*"],
"./package.json": "./package.json"
},
"sideEffects": false,