One is located in the directory
Sprockets which packages static
Webpacker manages the other one, which you can read more about in this guide.
which is included globally in the primary template,
application.js automatically includes all JS files via the statement:
//= require_tree .
One JS file in particular,
bootstraps the majority of the functionality. You will notice, within this file,
that major sections of the websites are bootstrapped, for example:
All the "initializers" are in