Skip to content

Commit 7c24e86

Browse files
authored
Merge pull request #212 from azt3k/master
fixed single output only bug
2 parents 3287835 + 3fc84f0 commit 7c24e86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ module.exports = function (options, wp, done) {
125125

126126
config.entry = config.entry || entry;
127127
config.output.path = config.output.path || process.cwd();
128-
config.output.filename = config.output.filename || '[contenthash].js';
128+
config.watch = options.watch;
129129
entry = [];
130130

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

0 commit comments

Comments
 (0)