ck86 / gulp-bower-files

Build gulp.src() of your bower packages main files.
80 stars 13 forks source link

Always need overrides #15

Closed CKGrafico closed 10 years ago

CKGrafico commented 10 years ago

I always need to override :S

{
    "name": "app",

    "dependencies": {
        "jquery": ">= 1.8.3"
    }
}

[gulp] Error in plugin 'gulp-bower-files': The bower package jquery has no main file(s), use the overrides property in your bower.json


{
    "name": "app",
    "dependencies": {
        "jquery": ">= 1.8.3"
    },

    "overrides": {
        "jquery": {
            "main": "jquery.js"
        }
    }
}
ck86 commented 10 years ago

What jQuery version do you have installed exactly?

CKGrafico commented 10 years ago

Last version: jQuery JavaScript Library v2.1.0

ck86 commented 10 years ago

It seems they removed the main property in their bower.json file. You can open an issue there with this link for recommendation: https://github.com/bower/bower.json-spec#main