-
Notifications
You must be signed in to change notification settings - Fork 384
[WIP] Update with webpacker lite #392
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] Update with webpacker lite #392
Conversation
Reviewed 5 of 19 files at r1, 1 of 14 files at r3. Gemfile, line 43 at r3 (raw file):
relative path is temporary WIP client/package.json, line 34 at r3 (raw file):
build:test:client like the others client/package.json, line 38 at r3 (raw file):
client/package.json, line 39 at r3 (raw file):
Should we add one for client/package.json, line 42 at r3 (raw file):
Not sure if this one should be in the /CONTRIBUTING.md when we're finally ready? This is for contributing... Maybe add steps in react_on_rails /CONTRIBUTING.md for the steps for a big release. This is really related to React on Rails development. client/package.json, line 86 at r3 (raw file):
We'll have to remember to go to 8.0.0 client/server-rails-hot.js, line 20 at r3 (raw file):
i'm not 100% sure this lvh.me should not be hotReloadingUrl. @kaizencodes had setup the proxy and the contentbase change. Doc are here:
@kaizencodes Any idea? Proxy should be for the api calls, so I would think that we want to proxy to localhost:3000 (wherever rails is running). client/server-rails-hot.js, line 22 at r3 (raw file):
Not sure on this one -- this would be for any static images. Shouldn't be a URL. Should be the public public path probably, like client/webpack.client.base.config.js, line 26 at r3 (raw file):
changed to use Previously, we add the TODO: make sure this is in the docs for Webpacker Lite and React on Rails client/webpack.client.base.config.js, line 107 at r3 (raw file):
document how we always use the hash in the output names regardless of env no reason not to, unless maybe at some point it seems to take more time in development or testing client/webpack.client.express.config.js, line 28 at r3 (raw file):
this needs to documented for the migration config/webpacker_lite.yml, line 16 at r3 (raw file):
ENV 'HOT_RELOAD=TRUE' (or 'FALSE') will always override config/initializers/assets.rb, line 7 at r3 (raw file):
we should do a quick test if this is still needed reason is that anything under public is included already! if this is not needed here, then not needed in generator or react on rails /spec/dummy config/initializers/react_on_rails.rb, line 89 at r3 (raw file):
We could actually check if the generated_assets directory is under public and this value is non-nil:
Comments from Reviewable |
Reviewed 2 of 19 files at r1, 11 of 14 files at r3. Comments from Reviewable |
Review status: all files reviewed at latest revision, 14 unresolved discussions, some commit checks broke. client/server-rails-hot.js, line 20 at r3 (raw file): Previously, justin808 (Justin Gordon) wrote…
Ask @Judahmeek Comments from Reviewable |
See #395 |
Here's my work so far, I'm trying to update the repo for the latest webpacker_lite and react_on_rails versions.
@justin808
This change is