rails/webpacker: Use Webpack to manage app-like JavaScript modules in Rails

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 #rails #rubyonrails #bosnia #programming #tutorials #rubydeveloper #railsdeveloper

Nezir Zahirovic

Freelance software developer Ruby On Rails (4 years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles