Fixed gulp.

This commit is contained in:
Norman Jäckel 2017-01-15 00:39:07 +01:00
parent 624fcc663b
commit 7ec128a0ec

View File

@ -90,7 +90,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({discardUnused: false}))) .pipe(gulpif(argv.production, cssnano({safe: true})))
.pipe(gulp.dest(path.join(output_directory, 'css'))); .pipe(gulp.dest(path.join(output_directory, 'css')));
}); });