Commit Graph

8 Commits

Author SHA1 Message Date
QWp6t
6b40db80fd Fix injection issues 2017-03-29 01:49:11 -07:00
Oskar Schöldström
6b37080b13 Allow autoprefixer's browser versions to be configured 2017-01-10 13:03:43 -05:00
QWp6t
e6f2f494b0 Use http by default (not https) to be consistent with Trellis 2016-11-03 08:35:44 -07:00
QWp6t
10899cf2cd Fix webpack HMR 2016-09-11 11:39:48 -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
Patrick Vézina
7623ad0511 Set dynamically aboslute public path on 'npm run watch'; fix http/htt… (#1696)
* Set dynamically aboslute public path on 'npm run watch'; fix http/https hardcoded in watch.js

* WEBPACK_PUBLIC_PATH fix
2016-08-26 11:45:50 -06:00
Patrick Vézina
97c1a307ec move assets found in node_modules/ to dist/vendor; simpler assets/config.json (#1697) 2016-08-26 11:34:52 -06:00
Patrick Vézina
f89c550d36 webpack - various ameliorations 2016-03-30 10:03:18 -04:00