Skip to content

fix(@angular-devkit/build-angular): handle regular expressions in proxy config when using Vite#26975

Merged
alan-agius4 merged 1 commit intoangular:mainfrom
alan-agius4:proxy-regexp-vite
Jan 26, 2024
Merged

fix(@angular-devkit/build-angular): handle regular expressions in proxy config when using Vite#26975
alan-agius4 merged 1 commit intoangular:mainfrom
alan-agius4:proxy-regexp-vite

Conversation

@alan-agius4
Copy link
Copy Markdown
Collaborator

This commit enables proxies to have a RegExp as context when using Vite. See: https://vitejs.dev/config/server-options#server-proxy

Closes #26970

…xy config when using Vite

This commit enables proxies to have a RegExp as context when using Vite. See: https://vitejs.dev/config/server-options#server-proxy

Closes angular#26970
@alan-agius4 alan-agius4 requested a review from clydin January 26, 2024 15:25
@alan-agius4 alan-agius4 added action: review The PR is still awaiting reviews from at least one requested reviewer target: patch This PR is targeted for the next patch release labels Jan 26, 2024
@alan-agius4 alan-agius4 added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Jan 26, 2024
@alan-agius4 alan-agius4 merged commit 822e7a4 into angular:main Jan 26, 2024
@alan-agius4 alan-agius4 deleted the proxy-regexp-vite branch January 26, 2024 15:46
@angular-automatic-lock-bot
Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Feb 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Angular CLI messes up proxy.conf.js regex proxy -settings passed to Vite when using esbuild

2 participants