the scripts in the order it finds them. If in a script you attempt to access an element that hasn’t been reached yet then you will get an error. Make sure that you don’t have a script above one that it requires.Plugin dependencies
Source: How to use Bootstrap with Webpack & Rails (Example) | GoRails
Recent Comments