Loading a script before another one I have created a dependency like the following, but it seems that acquia_lift is still not running before gtmscripts. How can I achieve this?

 GTMscripts:
 version: 1
 header : true
 js:
   assets/js/GTMscripts.js: {}
 dependencies:
    - acquia_lift/acquia_lift
As long as Replace custom weights with dependencies in library declarations is not fixed, you have to use weights to control the priorities of JavaScript files.

 js:
   assets/js/GTMscripts.js: { weight: 10 }