Webpacker
makes it easy to use the Javascript
pre-processor and bundler to manage application-like Javascript
in Rails
. It coexists with the asset pipeline, as the primary purpose for webpack
is app-like Javascript
, not images, CSS
, or even Javascript Sprinkles
(that all continues to live in app/assets).Webpacker
for CSS
, images and fonts assets as well, in which case you may not even need the asset pipeline. This is mostly relevant when exclusively using component-based Javascript
frameworks.ES6 Javascript
apps right away: