Merge pull request #1960 from normanjaeckel/Gulp

Fixed gulp-cssnano.
This commit is contained in:
Emanuel Schütze 2016-02-09 00:18:50 +01:00
commit 657d45f268

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')));
});