browser-esbuild builder is not validating proxy.conf.json #25978
Labels
area: @angular-devkit/build-angular
devkit/build-angular:dev-server
freq1: low
Only reported by a handful of users who observe it rarely
severity2: inconvenient
type: bug/fix
Command
serve
Is this a regression?
The previous version in which this bug was not present was
webpack browser builder
Description
Hi. I have invalid proxy.conf.json file, with this content:
Look at the "changeOrigin": true at the end.
It was in my project since angular v8, and now it breaks with esbuild.
I removed this line after i finally realised what caused
ng serve
to fail. Maybe there should be some kind of validation before starting dev server?Minimal Reproduction
https://stackblitz.com/edit/angular-at-dwjtto?file=proxy.conf.json
Exception or Error
Your Environment
Anything else relevant?
No response
The text was updated successfully, but these errors were encountered: