build: add types conditioanl exports for TS 4.5 nodenext mode
This commit is contained in:
parent
a8ab9e9311
commit
d19cfc0503
@ -21,7 +21,8 @@
|
|||||||
"node": "./index.mjs",
|
"node": "./index.mjs",
|
||||||
"default": "./dist/vue.runtime.esm-bundler.js"
|
"default": "./dist/vue.runtime.esm-bundler.js"
|
||||||
},
|
},
|
||||||
"require": "./index.js"
|
"require": "./index.js",
|
||||||
|
"types": "./dist/vue.d.ts"
|
||||||
},
|
},
|
||||||
"./server-renderer": {
|
"./server-renderer": {
|
||||||
"import": "./server-renderer/index.mjs",
|
"import": "./server-renderer/index.mjs",
|
||||||
|
Loading…
Reference in New Issue
Block a user