Commit Graph

12 Commits

Author SHA1 Message Date
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