front/build: change CSS minifier to csso

This commit is contained in:
rr- 2016-03-27 23:00:42 +02:00
parent 5774e5e9ef
commit 6a194b1d54
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@
"dependencies": {
"browserify": "^13.0.0",
"camelcase-keys": "^2.1.0",
"cssmin": "^0.4.3",
"csso": "^1.8.0",
"glob": "^7.0.3",
"handlebars": "^4.0.5",
"html-minifier": "^1.3.1",

View file

@ -65,7 +65,7 @@ function bundleHtml(config) {
}
function bundleCss() {
const minify = require('cssmin');
const minify = require('csso').minify;
glob('static/css/**/*.css', {}, (er, files) => {
let css = '';
for (const file of files) {