mirror of
https://github.com/iczer/vue-antd-admin
synced 2025-04-05 19:41:37 +08:00
fix: color switching problem in prod env; 🐛
修复:生产环境下颜色切换问题;
This commit is contained in:
parent
4063a4f08a
commit
8cbde7bff5
@ -20,6 +20,14 @@ module.exports = {
|
|||||||
})
|
})
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
|
chainWebpack: config => {
|
||||||
|
config
|
||||||
|
.plugin('optimize-css')
|
||||||
|
.tap(args => {
|
||||||
|
args[0].cssnanoOptions.preset[1].colormin = false
|
||||||
|
return args
|
||||||
|
})
|
||||||
|
},
|
||||||
css: {
|
css: {
|
||||||
loaderOptions: {
|
loaderOptions: {
|
||||||
less: {
|
less: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user