Skip to content

Commit 9df87ad

Browse files
authored
Merge pull request webpack#6394 from webpack/TheLarkInn-patch-1
Wrap default entry property in array
2 parents b50a5b6 + 2a46d09 commit 9df87ad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎lib/WebpackOptionsDefaulter.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class WebpackOptionsDefaulter extends OptionsDefaulter {
1717
constructor() {
1818
super();
1919

20-
this.set("entry", "./src");
20+
this.set("entry", ["./src"]);
2121

2222
this.set("devtool", "make", options => (options.mode === "development" ? "eval" : false));
2323
this.set("cache", "make", options => options.mode === "development");

0 commit comments

Comments
 (0)