Browse Source

chore: turn off zindex optimization for cssnano

close violentmonkey/violentmonkey#86
Gerald 8 years ago
parent
commit
d661faddd2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      gulpfile.js

+ 1 - 1
gulpfile.js

@@ -156,7 +156,7 @@ gulp.task('copy-files', () => {
   .pipe(cssFilter)
   .pipe(postcss([
     require('precss')(),
-    isProd && require('cssnano')(),
+    isProd && require('cssnano')({zindex: false}),
   ].filter(Boolean)))
   .pipe(cssFilter.restore)
   .pipe(gulp.dest('dist/'));