Webpacker v3ではwebpack-dev-serverを立てなくてもいい

In development, Webpacker compiles on demand rather than upfront by default. This happens when you refer to any of the pack assets using the Webpacker helper methods. That means you don’t have to run any separate process. Compilation errors are logged to the standard Rails log.

rails/webpacker: Use Webpack to manage app-like JavaScript modules in Rails

Railsのログに[Webpacker] Compiling…と出るのはこれ。


メールアドレスが公開されることはありません。 * が付いている欄は必須項目です