Moving ActionCable over to Webpacker
17-Jun-2021 1208
This week, I upgraded a little demo application for my book Deployment from Scratch from Rails 6 to Rails 6.1. Since I showcase WebSockets with ActionCable and Redis, I needed to move the ActionCable CoffeeScript from Sprockets to Webpacker.I started with dependencies. The original application could lose uglifier as Sprockets’ JavaScript processor and coffee-rails in favour of JavaScript. I replaced them with webpacker gem in Gemfile:.
Moving ActionCable over to Webpacker #ruby #rubydeveloper #rubyonrails #Moving #ActionCable #Webpacker #webpacker https://rubyonrails.ba/link/moving-actioncable-over-to-webpacker