Ben Word
8bd55bba58
Revert to yarn.lock from master, previous Webpack RC
2017-01-11 16:50:44 -07:00
Ben Word
1279552a6a
Use NoEmitOnErrorsPlugin, thanks @eshimischi
2017-01-11 16:08:54 -07:00
Ben Word
d9542131f5
Merge pull request #1798 from oxyc/patch-1
...
Allow browser versions to be configured in config.json
2017-01-11 16:02:42 -07:00
Ben Word
417ce46654
Fix for publicPath
2017-01-11 12:50:38 -07:00
Oskar Schöldström
f4cf20b94f
Respect autoprefixer browsers when stripping vendor prefixes with cssnano
2017-01-10 15:08:54 -05:00
Oskar Schöldström
6b37080b13
Allow autoprefixer's browser versions to be configured
2017-01-10 13:03:43 -05:00
Scott Walkinshaw
23d283c7bf
Use stock eslint
2017-01-09 20:19:51 -05:00
QWp6t
bdaf038248
Give devs more options for dynamically setting publicPath
2017-01-09 16:22:23 -08:00
QWp6t
f12654f83f
images should be recompiled on compiler done event
2017-01-09 13:49:38 -08:00
QWp6t
ce6024cde4
publicPath is ../ for styles, and optionally uses envar for everything else
2017-01-09 13:32:38 -08:00
QWp6t
bfb3ef7873
Update airbnb 14.0.0
2017-01-09 13:16:58 -08:00
QWp6t
71791d836c
Update webpack 2.2.0-rc.3
2017-01-09 13:09:34 -08:00
QWp6t
24cc3b5a42
Use browsersync-webpack-plugin
2017-01-03 08:40:55 -08:00
Joshua Geschwendt
8388805ba9
Fix to load optimization config ( #1762 )
...
closes #1761
2016-12-01 09:08:09 -08:00
QWp6t
e6e60aa8c1
Use new webpack api schema
2016-11-15 02:46:09 -08:00
QWp6t
70ebba7d80
Update dependencies
2016-11-15 00:34:42 -08:00
QWp6t
8c9ba0546b
Reorganize and refactor build routine
2016-11-06 22:31:49 -08:00
QWp6t
c1bb2b3a27
Switch assets manifest plugin
2016-11-06 20:32:47 -08:00
QWp6t
c49793cd3d
Add images to assets manifest
2016-11-06 19:40:13 -08:00
QWp6t
0d38ab8391
Switch from babel to buble
2016-11-03 09:05:07 -07:00
QWp6t
eae52fd7ea
Update dependencies & webpack compatibility (BREAKING CHANGES)
2016-11-03 08:38:22 -07:00
Allan Chau
e4d8be1642
Add support for .ico files ( #1740 )
2016-11-03 01:53:21 -07:00
Patrick Vézina
09497e7df9
Fix browserSyncOptions in config.js not being passed to BrowserSync ( #1732 )
...
See: https://discourse.roots.io/t/sage-9-configure-browsersync/7808
2016-10-05 17:01:09 -07:00
Patrick Vézina
b5a321fb45
Fix duplicate value of watch option Array ( #1733 )
2016-10-05 16:51:10 -07:00
QWp6t
953a8ab5d6
Define WEBPACK_PUBLIC_PATH in webpack.config.js
...
Move WEBPACK_PUBLIC_PATH back to webpack.config.js
- Reverses a change made in 10899cf
- Closes #1718
2016-09-12 23:47:11 -07:00
QWp6t
b79f389170
Comply with new eslint rules
2016-09-11 18:48:34 -07:00
QWp6t
c96905b075
Use closure instead of doneCompiling() method. Fixes #1717
2016-09-11 18:47:46 -07:00
QWp6t
10899cf2cd
Fix webpack HMR
2016-09-11 11:39:48 -07:00
QWp6t
697751009b
Remove redundant eslint rule exception
2016-09-09 04:31:19 -07:00
QWp6t
f6bdc7b48c
Refactor build routine and switch to airbnb style ( #1703 )
...
- Relocate webpack stuff to assets/build
- Switch all js to airbnb code style
- Update webpack to v2.0 (beta)
- Update all other dependencies
- Assets manifest uses relative path as key [1]
- Code should be compatible with Node 4.5.0
- All dependencies have been updated
[1]: Previously the assets manifest would use the basename of a file path as
its key when looking up a cachebusted file. This was to be consistent with
Sage 8. This change makes it so that the relative path is used instead.
To clarify, review the following example.
Before:
```
{
"main.js": "scripts/main_5f4bfc9a9f82291c6dea.js",
"main.css": "styles/main_5f4bfc9a9f82291c6dea.css",
"customizer.js": "scripts/customizer_5f4bfc9a9f82291c6dea.js"
}
```
After:
```
{
"scripts/main.js":"scripts/main_5f4bfc9a9f82291c6dea.js",
"styles/main.css":"styles/main_5f4bfc9a9f82291c6dea.css",
"scripts/customizer.js":"scripts/customizer_5f4bfc9a9f82291c6dea.js"
}
```
2016-09-04 19:13:16 -07:00