Skip to content

Commit 549b0c2

Browse files
committed
refactor: change order of params
1 parent 28f9597 commit 549b0c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ if (!process.env.WEBPACK_SERVE) {
3939
}
4040

4141
class Server {
42-
constructor(compiler, options = {}) {
42+
constructor(options = {}, compiler) {
4343
validate(schema, options, 'webpack Dev Server');
4444

4545
this.compiler = compiler;

0 commit comments

Comments
 (0)