How to build JS in a separate process without rails/webpack fighting? #1053
Answered
by
wwahammy
BenSturmfels
asked this question in
Q&A
-
The |
Beta Was this translation helpful? Give feedback.
Answered by
wwahammy
Mar 17, 2022
Replies: 1 comment 1 reply
-
Generally, you wouldn't want to tell Rails not to build the Javascript in development. You can run The advice on using |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
BenSturmfels
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Generally, you wouldn't want to tell Rails not to build the Javascript in development. You can run
bin/webpack
to prebuild it though and, if none of the source files have changed, it probably would just pass the built assets through to the end-user.The advice on using
webpack --watch
is out of date.