rails/webpacker: Use Webpack to manage app-like JavaScript modules in Rails
07-Mar-2019 2088
Webpacker makes it easy to use the JavaScript pre-processor and bundler webpack 4.x.x 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).However, it is possible to use 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.NOTE: The master branch now hosts the code for v4.x.x. Please refer to 3-x-stable branch for 3.x documentation. See the v4-upgrade guide for an overview of the changes.
rails/webpacker: Use Webpack to manage app-like JavaScript modules in Rails #ruby #rubydeveloper #rubyonrails #rails/webpacker: #Webpack #manage #app-like #JavaScript #modules #Rails #javascript #webpack https://rubyonrails.ba/link/rails-webpacker-use-webpack-to-manage-app-like-javascript-modules-in-rails