This is a simple introduction on how I setup Webpack in Ruby on Rails. I hope it'll be useful to others who wanted to use Webpack within a Rails application like I did.
This article assumes you've already setup a rails project via rails new {project-name}