Skip to content

Commit 2a46d09

Browse files
authored
Wrap default entry property in array
This makes webpack-serve happier.
1 parent c963e3d commit 2a46d09

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)