Skip to content

Commit

Permalink
fix: Migrate webpack dev server settings to v5 (#9644)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dschoordsch committed Apr 15, 2024
1 parent e3635ee commit a21f1d0
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions scripts/webpack/dev.client.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,10 @@ module.exports = {
'self-hosted',
// important terminating / so saml-redirect doesn't get targeted, too
'saml/'
].reduce((obj, name) => {
obj[`/${name}`] = {
target: `http://localhost:${SOCKET_PORT}`
}
return obj
}, {})
].map((name) => ({
context: [`/${name}`],
target: `http://localhost:${SOCKET_PORT}`,
}))
},
infrastructureLogging: {level: 'warn'},
watchOptions: {
Expand Down

0 comments on commit a21f1d0

Please sign in to comment.