Ben Word
863bbb5b3a
Merge pull request #2120 from roots/webpack-preset-note
...
Add note regarding webpack.config.preset.js usage
2018-11-15 16:12:44 -06:00
Nathan Knowler
e9bf0beaa2
Fix SAGE_DIST_PATH example path
...
Needs the trailing slash.
2018-11-07 16:19:19 -07:00
Nathan Knowler
37c7e0dd93
Add note regarding webpack.config.preset.js usage
...
See #2119
2018-10-19 09:49:31 -06:00
Lubomir Georgiev
6280fc97db
UglifyJs: Change the ecma option from 8 to 5
2018-08-14 17:23:15 +03:00
Nathan Knowler
157c97b6ae
Use smartStrategy to replace loaders with preset ( #2084 )
...
Using `merge.smartStrategy` with `'module.loaders' = 'replace'` to load
the preset config allows presets to override the the default webpack
config. This is necessary for the coming Tailwind preset which requires
`resolve-url-loader` and source maps to be disabled.
2018-08-11 19:32:19 -07:00
Ben Word
165a38f4d4
Merge pull request #2081 from kukac7/patch-2
...
missing semicolon
2018-08-09 15:11:47 -06:00
Nathan Knowler
61f923413a
Add support for preset specific Webpack config ( #2083 )
2018-07-17 10:58:16 -07: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
Nathan Knowler
4a9094b12d
Add missing trailing commas in 2f51b51
...
Forgot to lint.
2018-06-09 10:34:55 -06:00
Nathan Knowler
405aedfb13
Run autoprefixer before minification
2018-06-09 09:49:34 -06:00
Nathan Knowler
2f51b51c95
Enable source comments in Sass
2018-06-09 09:49:08 -06: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
Ben Word
922ed72ad9
Auto-detect scheme
2018-04-25 15:37:28 -06:00
Ben Word
ef28dae253
Merge pull request #2032 from juniorgarcia/master
...
Added support to .otf fonts
2018-04-25 12:07:12 -06:00
Harry Green
0c11974859
Fix default SVG optimisation configuration
2018-03-19 21:42:47 +00:00
Júnior Garcia
393215507d
Added support to .otf fonts
2018-02-19 21:35:58 -03:00
Ben Word
80a00245ab
Delete .eslintrc
...
https://discourse.roots.io/t/console-log-sage-9-eslint/10316/6
2017-12-14 23:04:44 -07:00
Andrew Luca
985fb5e830
Remove some Bower traces
2017-12-11 13:32:32 +02:00
Ben Word
c2a7b5edd0
Add friendly-errors-webpack-plugin ( #1961 )
2017-08-23 09:50:59 -07:00
Michael W. Delaney
33776e9317
Update webpack.config.js ( #1946 )
2017-08-12 01:34:44 -07:00
Ben Word
d208fa4b4e
👀
2017-08-11 18:12:25 -06:00
Ben Word
ce754b88df
BS4 now requires Popper
2017-08-11 17:59:18 -06:00
afbaf8fb2e
Update webpack 3.1.0 et al
2017-07-09 07:28:28 -07:00
caea9aa3fd
(CS)Add missing trailing comma
2017-07-01 19:48:51 -07:00
Jan Grzegorowski
a429115fb2
Pass config.open to browsersync-webpack-plugin
2017-07-01 19:39:12 -07:00
a67d5001f3
Minimize webpack output
2017-07-01 18:16:27 -07: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
d79504bf48
Revert to latest stable version of file-loader
2017-07-01 07:09:40 -07:00
39ac9e7ecc
Implement autoload system for styles/scripts
2017-07-01 04:52:49 -07:00
b8a502def6
Update npm dependencies
2017-06-30 23:56:54 -07:00
cc41cc1e3b
Support config-local.json overrides config.json
2017-06-30 21:02:09 -07:00
Ben Word
ae530661cb
Merge branch 'master' into dev-stylelint
2017-06-11 17:43:19 -06: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
Sam Rapaport
17e7d76377
Add Stylelint linting for scss files.
2017-04-24 11:38:43 -07:00
Ben Word
c3e6f1324e
assets/ -> resources/assets/
2017-04-03 18:42:26 -06:00