Skip to content

Commit d19cfc0

Browse files
committed
build: add types conditioanl exports for TS 4.5 nodenext mode
1 parent a8ab9e9 commit d19cfc0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/vue/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
"node": "./index.mjs",
2222
"default": "./dist/vue.runtime.esm-bundler.js"
2323
},
24-
"require": "./index.js"
24+
"require": "./index.js",
25+
"types": "./dist/vue.d.ts"
2526
},
2627
"./server-renderer": {
2728
"import": "./server-renderer/index.mjs",

0 commit comments

Comments
 (0)