Skip to content

Commit

Permalink
fix(build): ensure type exports is first
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Feb 1, 2023
1 parent 4fedc79 commit 957722c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,22 @@
],
"exports": {
".": {
"types": "./dist/vue.d.ts",
"import": {
"node": "./index.mjs",
"default": "./dist/vue.runtime.esm-bundler.js"
},
"require": "./index.js",
"types": "./dist/vue.d.ts"
"require": "./index.js"
},
"./server-renderer": {
"types": "./server-renderer/index.d.ts",
"import": "./server-renderer/index.mjs",
"require": "./server-renderer/index.js",
"types": "./server-renderer/index.d.ts"
"require": "./server-renderer/index.js"
},
"./compiler-sfc": {
"types": "./compiler-sfc/index.d.ts",
"import": "./compiler-sfc/index.mjs",
"require": "./compiler-sfc/index.js",
"types": "./compiler-sfc/index.d.ts"
"require": "./compiler-sfc/index.js"
},
"./dist/*": "./dist/*",
"./package.json": "./package.json",
Expand Down

0 comments on commit 957722c

Please sign in to comment.