自定义页签logo
1、webpack.prod.conf
new HtmlWebpackPlugin({ filename: process.env.NODE_ENV === 'testing' ? 'index.html' : config.build.index, template: 'index.html', favicon: path.resolve(__dirname, '../static')+'/favicon.ico', inject: true, minify: {
2、webpack.dev.conf
new HtmlWebpackPlugin({ filename: 'index.html', template: 'index.html', favicon: path.resolve(__dirname, '../static')+'/favicon.ico', inject: true }),