Skip to content

Commit

Permalink
build: fix compiler-sfc build
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Jun 10, 2022
1 parent 5bee34c commit 4306cc6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"require": "./compiler-sfc/index.js"
},
"./dist/*": "./dist/*",
"./types/*": "./types/*"
"./types/*": "./types/*",
"./package.json": "./package.json"
},
"sideEffects": false,
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions scripts/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ const builds = {
entry: resolve('packages/compiler-sfc/src/index.ts'),
dest: resolve('packages/compiler-sfc/dist/compiler-sfc.js'),
format: 'cjs',
transpile: false,
external: Object.keys(
require('../packages/compiler-sfc/package.json').dependencies
),
Expand Down

0 comments on commit 4306cc6

Please sign in to comment.