Packs a.k.a webpack entries
"Packs" is a special directory made only for webpack entry files so don't put anything here that you don't want to link in your views.
You can put your app source under
Let's say you're building a calendar app. Your JS app structure could look like this:
But it could also look a million other ways.
You can also namespace your packs using directories similar to a Rails app.
and reference them in your views like this: