-
-
Notifications
You must be signed in to change notification settings - Fork 92
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
Add precompile hook #491
Labels
Comments
You should already be able to do this with Rake:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sometimes, we always want to run some code, like
rake react_on_rails:generate_packs
whenever about to run webpack
We can add a
shakapacker.yml
configuration so some code can run before invoking the webpack.This way, "it just works" in terms of having some files ready that React on Rails needs.
Alternatives:
The text was updated successfully, but these errors were encountered: