I learned quite a bit (the hard way) helping my team switch our frontend JavaScript application from the Rails asset pipeline to webpack. I decided to distill what I learned into a talk I would have wanted to see before I started. This is that talk.

Star me on Speaker Deck!

Presented at RailsConf on April 19, 2018 and at NYC.rb April 10, 2018.


For those interested to learn more about webpack, here are some additional resources I've found helpful in my own learning.



Sprockets to webpack

Improving build performance

ES6 Modules



If you liked this presentation, share it on Twitter and follow me.

Need help with Webpack on Rails?

My name is Ross Kaffenberger.

Webpacker now ships by default in Rails 6 but there's no need to stress. I'm putting together a course to help you master Webpack on Rails.

I teach full stack web developers about frontend tools and performance, especially at the intersection of JavaScript and Ruby on Rails.

Subscribe to stay in the loop.