mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
chore: bump up webpack-dev-server version to v5 (#5819)
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [webpack-dev-server](https://togithub.com/webpack/webpack-dev-server) | [`^4.15.1` -> `^5.0.0`](https://renovatebot.com/diffs/npm/webpack-dev-server/4.15.1/5.0.2) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>webpack/webpack-dev-server (webpack-dev-server)</summary> ### [`v5.0.2`](https://togithub.com/webpack/webpack-dev-server/blob/HEAD/CHANGELOG.md#502-2024-02-16) [Compare Source](https://togithub.com/webpack/webpack-dev-server/compare/v5.0.1...v5.0.2) ### [`v5.0.1`](https://togithub.com/webpack/webpack-dev-server/blob/HEAD/CHANGELOG.md#501-2024-02-13) [Compare Source](https://togithub.com/webpack/webpack-dev-server/compare/v5.0.0...v5.0.1) ### [`v5.0.0`](https://togithub.com/webpack/webpack-dev-server/blob/HEAD/CHANGELOG.md#500-2024-02-12) [Compare Source](https://togithub.com/webpack/webpack-dev-server/compare/v4.15.1...v5.0.0) [Migration Guide and Changes](https://togithub.com/webpack/webpack-dev-server/blob/master/migration-v5.md). ##### [4.15.1](https://togithub.com/webpack/webpack-dev-server/compare/v4.15.0...v4.15.1) (2023-06-09) ##### Bug Fixes - replace `::` with `localhost` before openBrowser() ([#​4856](https://togithub.com/webpack/webpack-dev-server/issues/4856)) ([874c44b](874c44b072)) - **types:** compatibility with `@types/ws` ([#​4899](https://togithub.com/webpack/webpack-dev-server/issues/4899)) ([34bcec2](34bcec242b)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIwMC4wIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5In0=-->
This commit is contained in:
@@ -382,19 +382,17 @@ export const createConfiguration: (
|
||||
publicPath: '/',
|
||||
watch: true,
|
||||
},
|
||||
proxy: {
|
||||
'/api/worker/': {
|
||||
proxy: [
|
||||
{
|
||||
context: '/api/worker/',
|
||||
target: 'https://affine.fail',
|
||||
changeOrigin: true,
|
||||
secure: false,
|
||||
},
|
||||
'/api': 'http://localhost:3010',
|
||||
'/socket.io': {
|
||||
target: 'http://localhost:3010',
|
||||
ws: true,
|
||||
},
|
||||
'/graphql': 'http://localhost:3010',
|
||||
},
|
||||
{ context: '/api', target: 'http://localhost:3010' },
|
||||
{ context: '/socket.io', target: 'http://localhost:3010', ws: true },
|
||||
{ context: '/graphql', target: 'http://localhost:3010' },
|
||||
],
|
||||
} as DevServerConfiguration,
|
||||
} satisfies webpack.Configuration;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user