I'm migrating a Rails 5.2 app to 6.0 for ActionMailbox, ActionText, and multiple databases. However, I don't know webpack and would like to use Sprockets instead.
How do I properly remove webpack from Rails 6 and install Sprockets? rails new app
installs webpack files right away. Is there a way to default to sprockets easily?
Rails (Ruby) was supposed to be convention over configuration, but Webpack (Javascript) cancels this by adding a lot of config and complexity.
If you want to skip adding webpacker gem when generating new rails application, use --skip-javascript (since Webpacker the default JavaScript compiler for Rails 6).
as noted from this reference