Commit 252f9e73 authored by shangbj's avatar shangbj

更改css-loader的传参方式

parent 087b317f
...@@ -10,7 +10,16 @@ module.exports = { ...@@ -10,7 +10,16 @@ module.exports = {
rules:[ rules:[
{ {
test:/\.css$/, test:/\.css$/,
use:['style-loader','css-loader?minimize'] use:[
'style-loader',
// 'css-loader?minimize'
{
loader:'css-loader',
options:{
minimize:true
}
}
]
} }
] ]
} }
......
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