Commit e244e5f6 by caoyanzhi

update: 调整ico引入

parent 64152e73
......@@ -55,8 +55,7 @@ const devWebpackConfig = merge(baseWebpackConfig, {
new HtmlWebpackPlugin({
filename: 'index.html',
template: 'index.html',
inject: true,
favicon: './favicon.ico'
inject: true
}),
// copy custom static assets
new CopyWebpackPlugin([
......
......@@ -63,6 +63,7 @@ const webpackConfig = merge(baseWebpackConfig, {
new HtmlWebpackPlugin({
filename: config.build.index,
template: 'index.html',
favicon: './favicon.ico',
inject: true,
minify: {
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