bower-requirejs
Advanced tools
Comparing version 0.9.0 to 0.9.1
@@ -17,3 +17,15 @@ 'use strict'; | ||
var canonicalDir = dep.canonicalDir; | ||
var main = dep.pkgMeta.main; | ||
var main; | ||
if (dep.pkgMeta.main) { | ||
var pkgMain = dep.pkgMeta.main; | ||
if (! _.isArray(pkgMain)) { | ||
pkgMain = [pkgMain]; | ||
} | ||
main = _.filter(pkgMain, function (dep) { | ||
var extname = path.extname(dep); | ||
return !extname || extname === '.js'; | ||
}); | ||
} | ||
/** | ||
@@ -20,0 +32,0 @@ * Parse dependency |
{ | ||
"name": "bower-requirejs", | ||
"version": "0.9.0", | ||
"version": "0.9.1", | ||
"description": "Automagically wire-up installed Bower components into your RequireJS config", | ||
@@ -74,3 +74,3 @@ "keywords": [ | ||
"engines": { | ||
"node": ">=0.8.0" | ||
"node": ">=0.10.0" | ||
}, | ||
@@ -77,0 +77,0 @@ "files": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18138
436