0
jkeyser created
I see this message when I inspect.
"Angular is running in the development mode. Call enableProdMode() to enable the production mode."
How do I set the system to production?
1 Answer(s)
-
0
hi jkeyser
Try
ng build --env=prod
The build system defaults to the dev environment which uses
environment.ts
, but if you dong build --env=prod
thenenvironment.prod.ts
will be used instead.