Skip to content

Commit 623b197

Browse files
committed
add useful minimize options
1 parent 421c2d4 commit 623b197

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/processCss.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,10 @@ module.exports = function processCss(inputSource, inputMap, options) {
159159
]);
160160

161161
if(minimize) {
162-
pipeline.use(cssnano());
162+
pipeline.use(cssnano({
163+
zindex: false,
164+
urls: false
165+
}));
163166
}
164167

165168
var result = pipeline.process(inputSource, {

0 commit comments

Comments
 (0)