Skip to content

Commit

Permalink
Merge pull request #212 from azt3k/master
Browse files Browse the repository at this point in the history
fixed single output only bug
  • Loading branch information
shama authored Aug 31, 2021
2 parents 3287835 + 3fc84f0 commit 7c24e86
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 @@ -125,7 +125,7 @@ module.exports = function (options, wp, done) {

config.entry = config.entry || entry;
config.output.path = config.output.path || process.cwd();
config.output.filename = config.output.filename || '[contenthash].js';
config.watch = options.watch;
entry = [];

if (!config.entry || config.entry.length < 1) {
Expand Down

0 comments on commit 7c24e86

Please sign in to comment.