I’m trying to track down why the bootstrap plugins are not available for one of my Sage projects. I first noticed they are not being included in my main.js file. The bower package is installed and the overrides appear to be intact in my bower.js file from initial setup. No gulp errors.
This project was installed and set up months ago and I’ve never noticed any other issues since then. I checked another couple projects and there are no issues with the BS plugins being included there. I installed via bower owl-carousel and it’s being utilized without any issues.
bower.json
{
"name": "sage",
"homepage": "https://roots.io/sage/",
"authors": [
"Ben Word <ben@benword.com>"
],
"license": "MIT",
"private": true,
"dependencies": {
"bootstrap-sass": "3.3.6",
"font-awesome": "^4.6.3",
"owlcarousel": "^1.3.2"
},
"overrides": {
"bootstrap-sass": {
"main": [
"./assets/stylesheets/_bootstrap.scss",
"./assets/javascripts/bootstrap/transition.js",
"./assets/javascripts/bootstrap/alert.js",
"./assets/javascripts/bootstrap/button.js",
"./assets/javascripts/bootstrap/carousel.js",
"./assets/javascripts/bootstrap/collapse.js",
"./assets/javascripts/bootstrap/dropdown.js",
"./assets/javascripts/bootstrap/modal.js",
"./assets/javascripts/bootstrap/tooltip.js",
"./assets/javascripts/bootstrap/popover.js",
"./assets/javascripts/bootstrap/scrollspy.js",
"./assets/javascripts/bootstrap/tab.js",
"./assets/javascripts/bootstrap/affix.js",
"./assets/fonts/bootstrap/glyphicons-halflings-regular.eot",
"./assets/fonts/bootstrap/glyphicons-halflings-regular.svg",
"./assets/fonts/bootstrap/glyphicons-halflings-regular.ttf",
"./assets/fonts/bootstrap/glyphicons-halflings-regular.woff",
"./assets/fonts/bootstrap/glyphicons-halflings-regular.woff2"
]
},
"font-awesome": {
"main": [
"./scss/font-awesome.scss",
"./fonts/*"
]
},
"owlcarousel": {
"main": [
"./owl-carousel/owl.carousel.js",
"./owl-carousel/owl.carousel.css",
"./owl-carousel/owl.theme.css",
"./owl-carousel/owl.transitions.css"
]
}
}
}
I’m not sure where to proceed in troubleshooting next. Is this a bower package issue or an asset-pipeling / gulp compiling oversight?