@@ -4,6 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
+ <link rel="shortcut icon" href="../resource/favicon.ico" type="image/x-icon">
<title>登录页</title>
</head>
<body>
@@ -411,7 +411,6 @@ module.exports = {
chunks: ['login', 'vendor', 'common'],
hash: true, //防止缓存
inject: true,
- favicon: path.resolve('src/resource/favicon.ico'),
minify: {
removeAttributeQuotes: true, //压缩 去掉引号
removeComments: true, //移除HTML中的注释