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
Thank you for all your hard work here, I finally managed to get it to work on my project.
I was wondering if in the NEST project there is a quick way of replacing the environment and environment production - depending on if its a prod verson?
As, technically it doesn;'t run directly through angular.json it doesn't take into consideration the replacement feature
have any ideas ?
The text was updated successfully, but these errors were encountered:
@appsolutegeek
I use ReplacementPlugin for Webpack. Code below replaces environment.ts to environment.prod.ts. In my case I use SSR in PROD only, but I hope you can adapt this code for your case
// webpack.server.config - add code below in to config.plugins
new webpack.NormalModuleReplacementPlugin(
/environment\.ts/,
'environment.prod.ts'
)
Hi,
Thank you for all your hard work here, I finally managed to get it to work on my project.
I was wondering if in the NEST project there is a quick way of replacing the environment and environment production - depending on if its a prod verson?
As, technically it doesn;'t run directly through angular.json it doesn't take into consideration the replacement feature
have any ideas ?
The text was updated successfully, but these errors were encountered: