diff --git a/gulpfile.js b/gulpfile.js index 5256b426d..95a75a017 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -90,7 +90,7 @@ gulp.task('css-libs', function () { filter: /\.css$/ })) .pipe(concat('openslides-libs.css')) - .pipe(gulpif(argv.production, cssnano({discardUnused: false}))) + .pipe(gulpif(argv.production, cssnano({safe: true}))) .pipe(gulp.dest(path.join(output_directory, 'css'))); });