Skip to content

Details

By Jay Morlan: @j_morlan Integrate Webpack into your Rails app!

  • Use ES6 syntax
  • Use ES6 modules to make your code more sane
  • Use NPM for all your JS dependencies
  • Still use Rails for authentication, layouts, routing, views, etc. Sprinkle in modern JS when you need it!

Join us as we go over manually setting up Webpack in your Rails app. At the end I will also show a gem that automates the file creation, but still gives you full control over your Webpack environment.

--------

JWo notes: webpack is the new hotness in the JavaScript build tool race. It's powerful, but difficult to understand when you first get started. This method of Jay's is extremely awesome, let's you install JS packages inside Rails using NPM and use Webpack to build out your JS bundle (but use inside of Rails).

Related topics

You may also like