Skip to content
This repository has been archived by the owner on Oct 9, 2020. It is now read-only.

Commit

Permalink
allow undefined bundle return value
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Dec 14, 2015
1 parent 89a2f8b commit 54cb5c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/compile.js
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ function compileTree(loader, tree, compileOpts, outputOpts, cache) {
});
}))
.then(function(compiled) {
compiled = compiled || [];
compiled.forEach(function(output) {
if (output instanceof Array)
outputs = outputs.concat(output);
Expand Down

0 comments on commit 54cb5c4

Please sign in to comment.