Enhance Gulp dependency compilation
Gulp automatically grabs all of the dependencies listed as main files in `bower.json` except for jQuery and modernizr Deletes plugin directory, bad development pattern. Doesn't make sense with the existence of `vendor` directory anyway. Concat all of the js in the js directory except vendor and compiled files
This commit is contained in:
18
bower.json
18
bower.json
@@ -17,5 +17,23 @@
|
||||
"jquery": "1.11.1",
|
||||
"bootstrap": "3.2.0",
|
||||
"respond": "1.4.2"
|
||||
},
|
||||
"overrides": {
|
||||
"bootstrap": {
|
||||
"main": [
|
||||
"./js/transition.js",
|
||||
"./js/alert.js",
|
||||
"./js/button.js",
|
||||
"./js/carousel.js",
|
||||
"./js/collapse.js",
|
||||
"./js/dropdown.js",
|
||||
"./js/modal.js",
|
||||
"./js/tooltip.js",
|
||||
"./js/popover.js",
|
||||
"./js/scrollspy.js",
|
||||
"./js/tab.js",
|
||||
"./js/affix.js"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user