How to build JS in a separate process without rails/webpack fighting? #1053
-
The |
Beta Was this translation helpful? Give feedback.
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.
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.