-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
configuration.rb, manifest.rb to handle no compile
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.
- Loading branch information
Showing
2 changed files
with
33 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters