Skip to content

Commit

Permalink
[stable-4.9] Bump webpack-dev-server from 4.15.1 to 5.0.4 (#4965)
Browse files Browse the repository at this point in the history
* [stable-4.9] Bump webpack-dev-server from 4.15.1 to 5.0.4

Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 4.15.1 to 5.0.4.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases)
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md)
- [Commits](webpack/webpack-dev-server@v4.15.1...v5.0.4)

---
updated-dependencies:
- dependency-name: webpack-dev-server
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* config - update https and routes format

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Martin Hradil <mhradil@redhat.com>
  • Loading branch information
dependabot[bot] and himdel authored Apr 1, 2024
1 parent 2348900 commit dfe9506
Show file tree
Hide file tree
Showing 3 changed files with 598 additions and 102 deletions.
11 changes: 8 additions & 3 deletions config/webpack.base.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,7 @@ module.exports = (inputConfigs) => {
historyApiFallback: true,
host: '0.0.0.0',
hot: false,
https: customConfigs.UI_USE_HTTPS,
liveReload: true,
magicHtml: false,
onListening: (server) =>
console.log(
'App should run on:',
Expand All @@ -84,7 +82,14 @@ module.exports = (inputConfigs) => {
}`,
),
port: customConfigs.UI_PORT,
proxy: customConfigs.WEBPACK_PROXY,
proxy: Object.entries(customConfigs.WEBPACK_PROXY).map(
([k, v]) => ({
context: [k],
target: v,
changeOrigin: true,
}),
),
server: { type: customConfigs.UI_USE_HTTPS ? 'https' : 'http' },
static: { directory: resolve(__dirname, '../dist') },
},
}),
Expand Down
Loading

0 comments on commit dfe9506

Please sign in to comment.