Starting from angular 9
, angular started using a new renderer engine called IVY
and as its document says the built code will look same in dev and prod environment and easy to debug, is it still required to pass --prod
and --aot
option while building code
old build command
ng build --aot --prod
is not it new command should look like
ng build //for both prod and dev build
or only the --prod
option is required for the prod build