Rails 6: How to disable Webpack and use Sprockets instead
I found this link helpful, I will crosspost here: Use option –skip-webpack-install when generating a new app Change Gemfile, remove webpacker, add: gem ‘sass-rails’, ‘>= 5’ gem ‘sprockets’, ‘~> 4’ gem ‘sprockets-rails’, :require => ‘sprockets/railtie’ Then bundle update sass-rails sprockets # if you are updating bundle install # or simply install If you are using … Read more