Skip to content

Commit 8a34c60

Browse files
committed
fix: patch webpack dev server config for meanwhile
1 parent f6dceb1 commit 8a34c60

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

templates/webpack.config.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,12 @@ Encore.configureDevServerOptions((options) => {
145145
directory: join(__dirname, './resources/views'),
146146
watch: true,
147147
})
148+
149+
/**
150+
* Reset client as webpack encore is using an unallowed "host"
151+
* property.
152+
*/
153+
options.client = {}
148154
})
149155

150156
/*

0 commit comments

Comments
 (0)