mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-04-30 08:49:44 -05:00
fix(wc): don't overwrite user-defined externals (#2831)
This commit is contained in:
committed by
Haoqun Jiang
parent
8e3359ce77
commit
8bf7dfdd12
@@ -56,6 +56,7 @@ module.exports = (api, { target, entry, name }) => {
|
||||
// externalize Vue in case user imports it
|
||||
config
|
||||
.externals({
|
||||
...config.get('externals'),
|
||||
vue: 'Vue'
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user