diff options
Diffstat (limited to '')
-rw-r--r-- | webpack.production.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/webpack.production.js b/webpack.production.js index f857c53c..82e52d17 100644 --- a/webpack.production.js +++ b/webpack.production.js @@ -18,7 +18,7 @@ module.exports = Object.assign({}, baseConfig, { }), new ExtractTextPlugin("[name].css"), new webpack.optimize.CommonsChunkPlugin({ - names: ["vendor", "public", "slide", "locale"], + names: ["cover", "index", "pretty", "slide", "vendor"], children: true, async: true, filename: '[name].js', @@ -38,25 +38,25 @@ module.exports = Object.assign({}, baseConfig, { }), new HtmlWebpackPlugin({ template: 'public/views/includes/header.ejs', - chunks: ['vendor', 'locale'], + chunks: ['vendor', 'cover'], filename: path.join(__dirname, 'public/views/build/cover-header.ejs'), inject: false }), new HtmlWebpackPlugin({ template: 'public/views/includes/scripts.ejs', - chunks: ['vendor', 'locale'], + chunks: ['vendor', 'cover'], filename: path.join(__dirname, 'public/views/build/cover-scripts.ejs'), inject: false }), new HtmlWebpackPlugin({ template: 'public/views/includes/header.ejs', - chunks: ['vendor', 'public'], + chunks: ['vendor', 'pretty'], filename: path.join(__dirname, 'public/views/build/pretty-header.ejs'), inject: false }), new HtmlWebpackPlugin({ template: 'public/views/includes/scripts.ejs', - chunks: ['vendor', 'public'], + chunks: ['vendor', 'pretty'], filename: path.join(__dirname, 'public/views/build/pretty-scripts.ejs'), inject: false }), |