mirror of
https://github.com/vuejs/vue.git
synced 2024-11-21 20:28:54 +00:00
build: fix compiler-sfc build
This commit is contained in:
parent
5bee34c6e1
commit
4306cc67b9
@ -30,7 +30,8 @@
|
||||
"require": "./compiler-sfc/index.js"
|
||||
},
|
||||
"./dist/*": "./dist/*",
|
||||
"./types/*": "./types/*"
|
||||
"./types/*": "./types/*",
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"sideEffects": false,
|
||||
"scripts": {
|
||||
|
@ -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
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user