Fixed gulp-cssnano.
This commit is contained in:
parent
e6b1695c88
commit
801618d815
@ -55,7 +55,7 @@ gulp.task('css-libs', function () {
|
|||||||
filter: /\.css$/
|
filter: /\.css$/
|
||||||
}))
|
}))
|
||||||
.pipe(concat('openslides-libs.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')));
|
.pipe(gulp.dest(path.join(output_directory, 'css')));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user