Skip to content
This repository has been archived by the owner on Dec 21, 2019. It is now read-only.

Commit

Permalink
Skip incorrect modules (modules that can't be resolved) in the AMD ou…
Browse files Browse the repository at this point in the history
…tput
  • Loading branch information
arian committed Jan 22, 2013
1 parent 97fd61b commit ee42465
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/output/amd.js
Expand Up @@ -72,6 +72,7 @@ var output = prime({

module.requires.forEach(function(req, i){
var dep = modulesByID[module.deps[i]]
if (!dep) return

var path = relative(full, dep.full)
var param = paths[path]
Expand Down

0 comments on commit ee42465

Please sign in to comment.