diff --git a/docs/_includes/head.html b/docs/_includes/head.html
index 83a879175d..11062ef07a 100644
--- a/docs/_includes/head.html
+++ b/docs/_includes/head.html
@@ -18,7 +18,7 @@
{% if page.mdi %}
{% endif %}
-
+
diff --git a/package.json b/package.json
index 4edcbe58de..d9994293fc 100644
--- a/package.json
+++ b/package.json
@@ -5,7 +5,7 @@
"author": "Jeremy Thomas (https://jgthms.com)",
"description": "Modern CSS framework based on Flexbox",
"main": "bulma.sass",
- "style": "bulma/css/bulma.css",
+ "style": "bulma/css/bulma.min.css",
"repository": {
"type": "git",
"url": "git+https://github.com/jgthms/bulma.git"
@@ -23,18 +23,21 @@
},
"devDependencies": {
"autoprefixer": "^7.1.1",
+ "clean-css-cli": "^4.1.11",
"node-sass": "^4.5.3",
"postcss-cli": "^4.1.0",
"rimraf": "^2.6.1"
},
"scripts": {
- "build": "npm run build-clean && npm run build-sass && npm run build-autoprefix",
+ "build": "npm run build-clean && npm run build-sass && npm run build-autoprefix && npm run build-cleancss",
"build-autoprefix": "postcss --use autoprefixer --map false --output css/bulma.css css/bulma.css",
+ "build-cleancss": "cleancss -o css/bulma.min.css css/bulma.css",
"build-clean": "rimraf css",
"build-sass": "node-sass --output-style expanded --source-map true bulma.sass css/bulma.css",
"deploy": "npm run build && npm run docs",
- "docs": "npm run docs-sass && npm run docs-autoprefix",
+ "docs": "npm run docs-sass && npm run docs-autoprefix && npm run docs-cleancss",
"docs-autoprefix": "postcss --use autoprefixer --map false --output docs/css/bulma-docs.css docs/css/bulma-docs.css",
+ "docs-cleancss": "cleancss -o docs/css/bulma-docs.min.css docs/css/bulma-docs.css",
"docs-sass": "node-sass --output-style expanded docs/bulma-docs.sass docs/css/bulma-docs.css",
"start": "npm run build-sass -- --watch",
"start-docs": "npm run docs-sass -- --watch",