Commit 8a4f15c2 by 杨明

配置

1 parent 7e784f37
......@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2022-07-22 18:15:13
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-07-21 17:37:53
* @LastEditTime: 2023-07-21 17:42:38
* @FilePath: \scrm-micro-home\vue.config.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
......@@ -60,11 +60,13 @@ module.exports = {
args[0].cdn = cdn
return args
})
// config.plugin('preload').use(PreloadWebpackPlugin, [{
// rel: 'preload',
// include: 'allAssets',
// fileBlacklist: [/\.map$/, /hot-update\.js$/]
// }]);
config.plugin('preload').use(PreloadWebpackPlugin, [
{
rel: 'preload',
include: 'allAssets',
fileBlacklist: [/\.map$/, /hot-update\.js$/]
}
])
// config.plugins.delete('preload') // TODO: need test
config.plugins.delete('prefetch') // TODO: need test
config.module
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!