luolei 4 年之前
父節點
當前提交
a8184fd339
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      webpack.config.js

+ 1 - 0
webpack.config.js

@@ -411,6 +411,7 @@ module.exports = {
       chunks: ['login', 'vendor', 'common'],
       chunks: ['login', 'vendor', 'common'],
       hash: true, //防止缓存
       hash: true, //防止缓存
       inject: true,
       inject: true,
+      favicon: path.resolve('src/resource/favicon.ico'),
       minify: {
       minify: {
         removeAttributeQuotes: true, //压缩 去掉引号
         removeAttributeQuotes: true, //压缩 去掉引号
         removeComments: true, //移除HTML中的注释
         removeComments: true, //移除HTML中的注释