Commit d9adf2d0 by 杨明

配置

1 parent c535b719
......@@ -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-24 14:06:31
* @LastEditTime: 2023-07-24 14:18:17
* @FilePath: \scrm-micro-home\vue.config.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
......@@ -71,7 +71,12 @@ module.exports = {
args[0].cdn = cdn
return args
})
config.plugins.delete('preload') // TODO: need test
config.plugin('preload').tap(options => {
options[0].include = 'allAssets'
options[0].as = 'style'
return options
})
// config.plugins.delete('preload') // TODO: need test
config.plugins.delete('prefetch') // TODO: need test
config.module
.rule('fonts')
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!