Commit 37d398a3 authored by wangwei's avatar wangwei

页面编写

parent 2c00e7fa
...@@ -64,7 +64,8 @@ const webpackConfig = merge(baseWebpackConfig, { ...@@ -64,7 +64,8 @@ const webpackConfig = merge(baseWebpackConfig, {
// see https://github.com/ampedandwired/html-webpack-plugin // see https://github.com/ampedandwired/html-webpack-plugin
new HtmlWebpackPlugin({ new HtmlWebpackPlugin({
filename: config.build.index, filename: config.build.index,
template: process.env.NODE_ENV === 'testing' ? 'index.html' : 'index_prod.html', template: 'index.html',
// process.env.NODE_ENV === 'testing' ? 'index.html' : 'index_prod.html',
inject: true, inject: true,
minify: { minify: {
removeComments: true, removeComments: true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment