@Tommertom wrote:
Hi,
when I run
ionic serve -w chrome
, it usesenvironment.prod.ts
instead ofenvironment.ts
I tried tweaking in angular.json, the part of
fileReplacements
in configuration to see if that is part of the issue, but does not seem to be.The “serve” part in angular.json shows a configuration,production key, but I assume that one is only triggered when using --prod flag (which I don’t use).
WHen I run
ionic serve -w chrome --prod
, it does showng.cmd run app:serve:production --host=localhost --port=8100
, (whereas without --prod it showsng.cmd run app:serve --host=localhost --port=8100
)What am I doing wrong here? Any hints?
I am not very comfortable changing much of the scripts parts for a nearly production app, so any help will be appreciated.
Thx
Tom
Posts: 1
Participants: 1