自定义页签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
    }),

 

posted @ 2018-03-14 01:58  MvloveYouForever  阅读(162)  评论(0编辑  收藏  举报