|
@@ -18,7 +18,9 @@ let isDev = isWatch || argv.env.deploy == 'dev';
|
|
|
module.exports = (function () {
|
|
|
let plugins = [
|
|
|
new webpack.optimize.CommonsChunkPlugin({
|
|
|
- name: 'vendors'
|
|
|
+ name: 'vendors',
|
|
|
+ filename: "[name].js",
|
|
|
+ minChunks: Infinity
|
|
|
}),
|
|
|
new ExtractTextPlugin({
|
|
|
filename: "[name].css",
|
|
@@ -354,7 +356,7 @@ module.exports = (function () {
|
|
|
title: '高企自评',
|
|
|
filename: 'html/evaluation/evaluate.html',
|
|
|
template: './template/newMenu/evaluate.html',
|
|
|
- chunks: ['evaluation/evaluate', 'vendors']
|
|
|
+ chunks: ['evaluation/evaluate','vendors']
|
|
|
}),
|
|
|
new HtmlWebpackPlugin({
|
|
|
title: '知识产权顾问首页',
|