updated to webpack 4

This commit is contained in:
Danny Coates 2018-07-12 13:13:49 -07:00
parent b76899a353
commit ebf6bda467
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
17 changed files with 6052 additions and 5223 deletions

View file

@ -12,13 +12,9 @@ This loader enumerates all the files in `assets/` so that `common/assets.js` can
This loader enumerates all the ftl files in `public/locales` so that the fluent loader can create it's js files.
## Package.json Loader
## Version Plugin
This loader creates a `version.json` file that gets exposed by the `/__version__` route from the `package.json` file and current git commit hash.
## Version Loader
This loader substitutes the string "VERSION" for the version string specified in `package.json`. This is a workaround because `package.json` already uses the `package_json_loader`. See [app/templates/header/index.js](../app/templates/header/index.js) for more info.
Creates a `version.json` file that gets exposed by the `/__version__` route from the `package.json` file and current git commit hash.
# See Also