Add build.vendor in externals too

This commit is contained in:
Sébastien Chopin 2017-03-24 03:57:07 +01:00
parent 4ba3982307
commit 1c3b2c077a

View File

@ -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