CHANGELOG.md in react_on_rails-9.0.0.beta.8 vs CHANGELOG.md in react_on_rails-9.0.0.beta.9
- old
+ new
@@ -16,11 +16,11 @@
- Update the gemfile. Switch over to using Webpacker on the ShakaCode branch:
```rb
gem "webpacker", git: "https://github.com/shakacode/webpacker.git",
- branch: "issue-464-merge-webpacker-lite-into-webpacker-v2"
+ branch: "issue-464-merge-webpacker-lite-into-webpacker-v3"
```
- Update for the renaming in the `WebpackConfigLoader` in your webpack configuration.
You will need to rename the following object properties:
- webpackOutputPath ==> output.path
@@ -52,10 +52,14 @@
```
- Find your `webpacker_lite.yml` and rename it to `webpacker.yml`
+ - Add a default setting
+ ```
+ custom_compile: true
+ ```
- Add a section like this under your development env:
```
dev_server:
host: localhost
port: 3035
@@ -73,20 +77,24 @@
- Set the `hmr` key in your `webpacker.yml` to `true`.
- Edit your hot procfile to set env value WEBPACKER_HMR=TRUE
#### Troubleshooting
-If you want to skip using the dev server (as is current for beta.3 and below), then be sure to either
-set WEBPACKER_DEV_SERVER=FALSE or comment out the dev_server section of your `config/webpacker.yml` file.
-
-Otherwise, you'll get an error that the bundle can't be found, because your Rails server thinks you are
-deploying assets using the webpack-dev-server.
+* Be sure to
+
### [9.0.0]
*Diffs for the beta to master*
+### [9.0.0-beta.9]
+- Fixes precompile task going to Webpacker's. You need to set `custom_compile: true` in your `webpacker.yml`.
+- Changed webpack-bundle.js name to hello-world-bundle.js
+- Update for latest from rails/webpacker
+gem "webpacker", git: "https://github.com/shakacode/webpacker.git",
+ branch: "issue-464-merge-webpacker-lite-into-webpacker-v3"
+
### [9.0.0-beta.8]
- bugfix for server rendering
### [9.0.0-beta.7]
- Depend on updated rails/webpacker in branch
@@ -727,10 +735,11 @@
##### Fixed
- Fix several generator related issues.
[Unreleased]: https://github.com/shakacode/react_on_rails/compare/rails-webpacker...9.0.0-beta.8
-[9.0.0]: https://github.com/shakacode/react_on_rails/compare/9.0.0-beta.8...master
+[9.0.0]: https://github.com/shakacode/react_on_rails/compare/9.0.0-beta.9...master
+[9.0.0-beta.9]: https://github.com/shakacode/react_on_rails/compare/9.0.0-beta.9...9.0.0-beta.8
[9.0.0-beta.8]: https://github.com/shakacode/react_on_rails/compare/9.0.0-beta.8...9.0.0-beta.7
[9.0.0-beta.7]: https://github.com/shakacode/react_on_rails/compare/9.0.0-beta.7...9.0.0-beta.6
[9.0.0-beta.6]: https://github.com/shakacode/react_on_rails/compare/9.0.0-beta.6...9.0.0-beta.5
[9.0.0-beta.5]: https://github.com/shakacode/react_on_rails/compare/9.0.0-beta.5...9.0.0-beta.4
[9.0.0-beta.4]: https://github.com/shakacode/react_on_rails/compare/9.0.0-beta.4...9.0.0-beta.3