From a637d26d7842160860748a22734f69fc0e2a9cdd Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Sun, 8 Jan 2017 18:25:56 +0200 Subject: [PATCH] package.json: Update node-sass invocation Since we're using cleancss there is no need to compress or optimize anything in the node-sass step. Also, the Bootstrap project itself is using the expanded output style as well so we should too. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a7f34e1..ec8637a 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "url": "https://github.com/alanorth/hugo-theme-bootstrap4-blog.git" }, "scripts": { - "build:css": "node-sass --output-style compressed source/scss/style.scss static/css/style.css.tmp && cleancss static/css/style.css.tmp -o static/css/style.css", + "build:css": "node-sass --output-style expanded --precision 6 source/scss/style.scss static/css/style.css.tmp && cleancss static/css/style.css.tmp -o static/css/style.css", "build:fonts": "cp node_modules/font-awesome/fonts/* static/fonts", "build:cookieconsent": "cp node_modules/cookieconsent/build/cookieconsent.min.css static/css && cp node_modules/cookieconsent/build/cookieconsent.min.js static/js", "build": "npm run build:css && npm run build:fonts && npm run build:cookieconsent && npm run clean",