mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
Add build.vendor in externals too
This commit is contained in:
parent
4ba3982307
commit
1c3b2c077a
@ -61,6 +61,7 @@ export default function () {
|
||||
config.externals = config.externals.concat(Object.keys(projectPackageJson.dependencies || {}))
|
||||
} catch (e) {}
|
||||
}
|
||||
config.externals = config.externals.concat(this.options.build.vendor)
|
||||
config.externals = uniq(config.externals)
|
||||
|
||||
// Extend config
|
||||
|
Loading…
Reference in New Issue
Block a user