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
@blackcatIan from the documentation in environment.ts:
The build system defaults to the dev environment which uses `environment.ts`, but if you do
`ng build --env=prod` then `environment.prod.ts` will be used instead.
There is
environment.prod.ts and environment.ts
I put different variables value in them like:
//environment.ts
export const environment = {
production: false,
loginurl:"localhost:8080"
};
//environment.prod.ts
export const environment = {
production: false,
loginurl:"xxx.xxx.com"
};
how can I read loginurl variable with defferent webpack environment?
The text was updated successfully, but these errors were encountered: