mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2024-12-19 00:52:19 +01:00
package.json: Add cssnano to dev dependencies
Processing style.css with cssnano saves 1KB. Guess it's useful.
This commit is contained in:
parent
6a25f3eef1
commit
1800fc2fb8
@ -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",
|
||||
"build:css": "node-sass --output-style compressed source/scss/style.scss static/css/style.css.tmp && cssnano static/css/style.css.tmp static/css/style.css",
|
||||
"build:fonts": "cp node_modules/font-awesome/fonts/* static/fonts",
|
||||
"build": "npm run build:css && npm run build:fonts"
|
||||
},
|
||||
@ -16,6 +16,7 @@
|
||||
"license": "GPL-3.0",
|
||||
"devDependencies": {
|
||||
"bootstrap": "4.0.0-alpha.4",
|
||||
"cssnano": "^3.7.5",
|
||||
"font-awesome": "4.6.3",
|
||||
"node-sass": "3.10.0"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user