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

Commit

Permalink
support array build
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Feb 18, 2016
1 parent 101ee8b commit 9088391
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/builder.js
Expand Up @@ -575,6 +575,8 @@ Builder.prototype.buildStatic = function(expressionOrTree, outFile, opts) {
var entryPoints;
if (typeof expressionOrTree == 'string')
entryPoints = [expressionOrTree.split(/ [\+\&\-] /)[0]];
else if (expressionOrTree instanceof Array)
entryPoints = expressionOrTree[0];

var outputOpts = processOutputOpts(opts, { outFile: outFile });
var traceOpts = processTraceOpts(opts, { tracePackageConfig: false });
Expand Down

0 comments on commit 9088391

Please sign in to comment.