Fixed gulp-cssnano.

This commit is contained in:
Norman Jäckel 2016-02-08 23:02:09 +01:00
parent e6b1695c88
commit 801618d815

View File

@ -55,7 +55,7 @@ gulp.task('css-libs', function () {
filter: /\.css$/
}))
.pipe(concat('openslides-libs.css'))
.pipe(gulpif(argv.production, cssnano()))
.pipe(gulpif(argv.production, cssnano({discardUnused: false})))
.pipe(gulp.dest(path.join(output_directory, 'css')));
});