Skip to content
This repository has been archived by the owner on Nov 17, 2021. It is now read-only.

Commit

Permalink
perf(CSS): Reduce file sizes by using CSSNano during builds
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-ketch committed Feb 18, 2020
1 parent 16ed2b6 commit 87f7b2b
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 27 deletions.
3 changes: 3 additions & 0 deletions .postcssrc
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
"postcss-nested": true,
"autoprefixer": true,
"postcss-extend": true,
"cssnano": {
"preset": "default"
},
"postcss-combine-media-query": true,
"postcss-sort-media-queries": true,
}
Expand Down
72 changes: 45 additions & 27 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@
"argos-cli": "0.1.3",
"autoprefixer": "9.7.4",
"chromedriver": "79.0.0",
"cssnano": "^4.1.10",
"cssnano-preset-default": "^4.0.7",
"geckodriver": "1.19.1",
"globby": "11.0.0",
"mathjax-node": "2.1.1",
Expand Down

0 comments on commit 87f7b2b

Please sign in to comment.