My last post was about using
webpacker v3 on Rails 5.1.
This time I want to explore how to replace the traditional
sprockets-based asset pipeline completely.
Our goal will be to add Bootstrap v4 and jQuery v3 to an app, handled entirely through
webpacker. We won’t even install the sprockets related gems.
We’ll also enable
turbolinks, and even images using webpacker.