Commit f2de7d59 by 陈超

A

parent 8846f663
......@@ -25,7 +25,7 @@
<div id="app">
<div class="avue-home">
<div class="avue-home__main">
<img class="avue-home__loading" src="./svg/loading-spin.svg" alt="loading">
<img class="avue-home__loading" src="/svg/loading-spin.svg" alt="loading">
<div class="avue-home__title">
正在加载资源
</div>
......
......@@ -38,7 +38,7 @@ module.exports = {
test: new RegExp('\\.(' + productionGzipExtensions.join('|') + ')$'),
threshold: 1024, // 只有大小大于该值的资源会被处理,当前配置为对于超过1k的数据进行处理,不足1k的可能会越压缩越大
minRatio: 0.99, // 只有压缩率小于这个值的资源才会被处理
deleteOriginalAssets: true // 删除原文件
deleteOriginalAssets: false // 删除原文件
})
]
}
......
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