Commit Graph

21 Commits

Author SHA1 Message Date
QWp6t
69c55e9abb Update dependencies 2017-03-29 01:49:11 -07:00
QWp6t
bdad1fe3b1 Use copy-globs-webpack-plugin (#1824) 2017-02-07 14:45:18 -08:00
QWp6t
4adbc347c2 Fix browsersync (#1815)
* Update dependencies
* Remove monkey-hot-loader
* Use webpack-merge instead of util/mergeWithConcat()
* Fix: copyglobs plugin `after-emit` is bound twice
* NoErrorsPlugin() is deprecated in favor of NoEmitOnErrorsPlugin()
* webpack-dev-middleware should use same publicPath as compiler
* webpack-hot-middleware/client should be prepended to entries
* Browser should refresh when HMR fails
* Bootstrap package.json has correct main property
Sometime between alpha 2 and 3, package.json was pointing to nonexistent
file, so we referenced file manually in our repo. Underlying issue was
fixed by alpha 4, so we no longer have to specify full path to file.
2017-01-18 23:58:37 -08:00
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
Oskar Schöldström
6b37080b13 Allow autoprefixer's browser versions to be configured 2017-01-10 13:03:43 -05:00
QWp6t
bdaf038248 Give devs more options for dynamically setting publicPath 2017-01-09 16:22:23 -08:00
QWp6t
ce6024cde4 publicPath is ../ for styles, and optionally uses envar for everything else 2017-01-09 13:32:38 -08:00
QWp6t
71791d836c Update webpack 2.2.0-rc.3 2017-01-09 13:09:34 -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
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
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
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