Commit Graph

10 Commits

Author SHA1 Message Date
Lubomir Georgiev
6280fc97db UglifyJs: Change the ecma option from 8 to 5 2018-08-14 17:23:15 +03:00
béla
6325f11cd6 missing semicolon 2018-07-02 00:22:37 +02:00
Jason Baciulis
fd2a94fa1b Add uglifyjs plugin (#2070)
* Add uglifyjs plugin and replace -p flag with --env.production
* Add uglifyjs plugin
* Configure UglifyJsPlugin to drop console and prevent eslint error
* Turn off no-console rule because uglifyjs plugin drops it in prod
2018-06-16 08:33:41 -07:00
Henning Orth
9dd101f56c Fix travis CI build error (missing trailing comma) 2018-05-28 16:50:49 +02:00
Henning Orth
d1c8a2eee7 Tweaked SVGO settings
Disable removal of the SVG viewBox by default to improve compatibility. See this Discourse thread: https://discourse.roots.io/t/svg-size-change-upon-yarn-build-production/12320
2018-05-28 16:44:12 +02:00
Harry Green
0c11974859 Fix default SVG optimisation configuration 2018-03-19 21:42:47 +00:00
093d1f724d Refactor module (loader) rules
- Removed unnecessary url-loader targeting .woff files
- Replaced file-loader with url-loader (file is fallback for url)
- PostCSS plugins are all loaded manually vs postcss.config.js
2017-07-01 12:49:47 -07:00
Julien Melissas
c304c3041d Optimize CSS Assets safe = true (#1901)
Related: https://github.com/roots/sage/pull/1610#issuecomment-182969178
oh word!
2017-06-06 13:15:34 -07:00
Ben
c21df9965f Update Autoprefixer and standardize browserlist location (#1899)
This updates Autoprefixer to 7.1.1, and also moves the browser target
list to package.json, in line with the recommendation made in this
article (https://evilmartians.com/chronicles/autoprefixer-7-browserslist-2-released)
from the developers of Autoprefixer and Browserslist.
2017-05-31 13:09:00 -07:00
Ben Word
c3e6f1324e assets/ -> resources/assets/ 2017-04-03 18:42:26 -06:00