manfredsteyer / ngx-build-plus

Extend the Angular CLI's default build behavior without ejecting, e. g. for Angular Elements
1.19k stars 136 forks source link

`--prod` is deprecated #284

Open MickL opened 3 years ago

MickL commented 3 years ago

The schematics add the --prod flag but it is deprecated and should be --configuration production instead.

Further possible improvements:

dtslvr commented 3 years ago

After the upgrade to Angular 12, I'm not able to create a production build anymore. Is it related to this issue? Or can I fix it manually?

MickL commented 3 years ago

I am on Angular 12 and it works fine. You may create a separate issue and give more informations, e.g. the error message. Maybe I can help.

dtslvr commented 3 years ago

I am on Angular 12 and it works fine. You may create a separate issue and give more informations, e.g. the error message. Maybe I can help.

I have created a separate issue: https://github.com/manfredsteyer/ngx-build-plus/issues/287