Skip to content

Commit 17dbc38

Browse files
committed
fix: update webpack-serve config so local IE 11 testing works with webpack-hot-client
1 parent 7db558d commit 17dbc38

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/build-tools/tasks/webpack-tasks.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,11 @@ async function server(buildTime) {
220220
hotClient: {
221221
logLevel: 'silent',
222222
hot: true,
223+
// Workaround to IE 11-specific issue with webpack-hot-client -- otherwise testing IE 11 on the local dev server is broken
224+
host: {
225+
client: '*',
226+
server: '0.0.0.0',
227+
},
223228
},
224229
content: path.resolve(process.cwd(), config.wwwDir),
225230
devWare: {

0 commit comments

Comments
 (0)