You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey guys, thanks for the plugin. I'm working on a project where wiredep is used to inject bower_components into a vendor.js file. However lodash isn't correctly being included. I'm not a gulp expert but I tracked down the line that's failing in the gulpfile.js to this:
var vendorFiles = wiredep().js;
vendorFiles is then missing lodash. I'm not sure why it's not working and would super appreciate any advice. Here's my bower.json:
I managed to figure it out. The reason was the version of lodash. If I pin our version to 4.15.0 it works. Not sure what the difference between the two is, but that's basically it. It's kind of unbelievable how unstable these frontend components are. Almost makes me want to pin every component to a specific version!
Hey guys, thanks for the plugin. I'm working on a project where wiredep is used to inject bower_components into a vendor.js file. However lodash isn't correctly being included. I'm not a gulp expert but I tracked down the line that's failing in the gulpfile.js to this:
var vendorFiles = wiredep().js;
vendorFiles is then missing lodash. I'm not sure why it's not working and would super appreciate any advice. Here's my bower.json:
{
"name": "PeachDelivery",
"author": "Peach,
"private": "true",
"devDependencies": {
"platform.js": "platform#^1.3.3"
},
"dependencies": {
"jquery": "^3.1.1",
"angular": "^1.5.3",
"angular-resource": "1.5.8",
"ionic": "^1.3.2",
"moment": "^2.14.1",
"moment-timezone": "^0.5.5",
"angular-ui-router": "^0.2.13",
"jquery.cookie": "^1.4.1",
"Ionicons": "ionicons#^2.0.1",
"material-design-icons": "^3.0.1",
"pubnub": "^4.2.5",
"pubnub-angular": "^4.0.2",
"lodash-4.17.4": "lodash#^4.17.4"
},
"resolutions": {
"angular": "1.5.3"
}
}
The text was updated successfully, but these errors were encountered: