refactor: remove vendor

This commit is contained in:
Clark Du 2018-03-13 09:46:37 +08:00
parent 94f602f2c0
commit 2a931cbad6
No known key found for this signature in database
GPG Key ID: D0E5986AF78B86D9
2 changed files with 1 additions and 3 deletions

View File

@ -82,8 +82,7 @@ module.exports = function webpackClientConfig() {
// Optimization // Optimization
config.optimization = { config.optimization = {
splitChunks: { splitChunks: {
chunks: 'all', chunks: 'all'
filename: this.getFileName('vendor')
} }
} }

View File

@ -206,7 +206,6 @@ Options.defaults = {
filenames: { filenames: {
css: '[name].[contenthash].css', css: '[name].[contenthash].css',
manifest: 'manifest.[hash].js', manifest: 'manifest.[hash].js',
vendor: 'vendor.[chunkhash].js',
app: '[name].[chunkhash].js', app: '[name].[chunkhash].js',
chunk: '[name].[chunkhash].js' chunk: '[name].[chunkhash].js'
}, },