Use Webpack to manage app-like JavaScript modules in Rails
25-May-2017 3658
Webpacker makes it easy to use the JavaScript pre-processor and bundler Webpack 2.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.
Use Webpack to manage app-like JavaScript modules in Rails #ruby #rubydeveloper #rubyonrails #Webpack #manage #app-like #JavaScript #modules #Rails #javascript #webpack https://rubyonrails.ba/link/use-webpack-to-manage-app-like-javascript-modules-in-rails