fix(types): add types field for sub package exports
Add types field for vue/server-renderer and vue/compiler-sfc deep imports which are necessary when using "moduleResolution": "nodenext"
This commit is contained in:
parent
78c199d6db
commit
c1ee6caa82
@ -28,11 +28,13 @@
|
||||
},
|
||||
"./server-renderer": {
|
||||
"import": "./server-renderer/index.mjs",
|
||||
"require": "./server-renderer/index.js"
|
||||
"require": "./server-renderer/index.js",
|
||||
"types": "./server-renderer/index.d.ts"
|
||||
},
|
||||
"./compiler-sfc": {
|
||||
"import": "./compiler-sfc/index.mjs",
|
||||
"require": "./compiler-sfc/index.js"
|
||||
"require": "./compiler-sfc/index.js",
|
||||
"types": "./compiler-sfc/index.d.ts"
|
||||
},
|
||||
"./dist/*": "./dist/*",
|
||||
"./package.json": "./package.json",
|
||||
|
Loading…
Reference in New Issue
Block a user