Skip to content

Commit

Permalink
Merge 56c412a into 35c9aa2
Browse files Browse the repository at this point in the history
  • Loading branch information
cahnory committed Jan 31, 2017
2 parents 35c9aa2 + 56c412a commit f3d3529
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ var Promise = require('bluebird');

function StaticSiteGeneratorWebpackPlugin(renderSrc, outputPaths, locals, scope) {
this.renderSrc = renderSrc;
this.outputPaths = Array.isArray(outputPaths) ? outputPaths : [outputPaths];
this.outputPaths = Array.isArray(outputPaths) ? outputPaths : [ outputPaths || renderSrc + '.html' ];
this.locals = locals;
this.scope = scope;
}
Expand Down

0 comments on commit f3d3529

Please sign in to comment.