Skip to content
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

Issue 464 merge webpacker lite into webpacker v2 #650

Conversation

justin808
Copy link
Contributor

@justin808 justin808 commented Aug 14, 2017

This branch contains the HMR changes as well as the following commit.

This fix addresses the cases where compile is disabled:

  1. If React on Rails depends on Webpacker, but the React on Rails
    installer has not yet generated a webpacker.yml file or a React on Rails
    installation is not using Webpacker, then the gem loading of Webpacker
    will crash due to the missing config file.

  2. If React on Rails has its own helper to compile assets for tests,
    then the manifest might need to get reloaded after Webpacker statically
    loads.

Relevant change:
7abcc21

dhh and others added 13 commits August 12, 2017 14:58
…acker-lite-into-webpacker-v2

* upstream/hmr:
  Make linter happy
  Fix typo
  Update readme and changelog
  Update condition for extracting CSS
  Remove redundant variables
  Update sass loader and remove redundant config from vue loader
  Fix development.js changes
  Add HMR
…acker-lite-into-webpacker-v2

* upstream/hmr:
  Only configure the dev server in the dev environment
  #642 Add Troubleshooting Item for invalid config (#643)
…ebpacker-lite-into-webpacker-v2

* upstream/master:
  Update React pointers to include react on rails
This fix addresses the cases where compile is disabled:

1. If React on Rails depends on Webpacker, but the React on Rails
installer has not yet generated a webpacker.yml file or a React on Rails
installation is not using Webpacker, then the gem loading of Webpacker
will crash due to the missing config file.

2. If React on Rails has its own helper to compile assets for tests,
then the manifest might need to get reloaded after Webpacker statically
loads.
@gauravtiwari gauravtiwari requested a review from dhh August 14, 2017 08:34
@justin808
Copy link
Contributor Author

@justin808
Copy link
Contributor Author

See #656

@justin808 justin808 closed this Aug 16, 2017
@justin808 justin808 deleted the issue-464-merge-webpacker-lite-into-webpacker-v2 branch April 6, 2022 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants