ck86 / gulp-bower-files

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

Can't override main when no main is specified in source bower.json #12

Closed chrisbateskeegan closed 10 years ago

chrisbateskeegan commented 10 years ago

Because the exception is thrown on the basis of the contents of the original bower.json without consideration of the overrides config.

By checking dependencyConfig.main prior to throwing the exception we can proceed safely.