Skip to content
Browse files

build: ignore deps that aren't strings

  • Loading branch information...
1 parent 1bcdc7e commit cab766f55c43850bb9cb4022a23dac050c394acf @neonstalwart neonstalwart committed
Showing with 6 additions and 0 deletions.
  1. +6 −0 build/transform.js
View
6 build/transform.js
@@ -89,8 +89,14 @@ define([
deps = resource.deps;
function processDep(dep) {
+ // if any deps have been defined inline, ignore them
+ if (typeof dep !== 'string') {
+ return;
+ }
+
var info = bc.getSrcModuleInfo(dep, resource),
module = bc.resources[info.url];
+
if (module) {
deps.push(module);
}

0 comments on commit cab766f

Please sign in to comment.
Something went wrong with that request. Please try again.