You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
No response
Description
So we've been using SSR for a few years already and we have a lot of custom logic in our server.ts file. Most notably, it contains a proxy to the API (so that it can be deployed separately, but accessed by the browser on the same domain), but also some other special proxies like the webmanifest file, a styling file that the API generates (tenant specific) and a special reroute for print specific rendering.
While I was trying to get the new application builder to work with our code, I noticed that while running ng serve, the server.ts file is completely ignored. Only when running ng build and then running the output does this file get included.
This is a change that I could not find documented anywhere and I'm wondering what the reason for this change is. It forces us to kind of redo this whole part altogether if we want to keep everything working while developing locally.
Apologies if this isn't the right place for this topic.
Command
serve
Is this a regression?
The previous version in which this bug was not present was
No response
Description
So we've been using SSR for a few years already and we have a lot of custom logic in our server.ts file. Most notably, it contains a proxy to the API (so that it can be deployed separately, but accessed by the browser on the same domain), but also some other special proxies like the webmanifest file, a styling file that the API generates (tenant specific) and a special reroute for print specific rendering.
While I was trying to get the new application builder to work with our code, I noticed that while running
ng serve
, theserver.ts
file is completely ignored. Only when runningng build
and then running the output does this file get included.This is a change that I could not find documented anywhere and I'm wondering what the reason for this change is. It forces us to kind of redo this whole part altogether if we want to keep everything working while developing locally.
Apologies if this isn't the right place for this topic.
Minimal Reproduction
Exception or Error
No response
Your Environment
Anything else relevant?
No response
The text was updated successfully, but these errors were encountered: