Control order of source files

后端 未结 2 703

I\'m using Gulp and the main-bower-files to bundle my bower dependencies.

I need to ensure that jQuery is included before AngularJS, but since the Angular bower pack

2条回答
  •  一整个雨季
    2021-01-08 00:26

    You can override angulars dependencies in your project bower.json:

    https://github.com/ck86/main-bower-files#overrides-options

    {
        ...
    
        "overrides": {
            "angular": {
                "dependencies": {
                    "jquery": "~1.8"
                }
            }
        }
    }
    

提交回复
热议问题