Angular Build CLI Production mode And Developer Mode.

Developer Mode Syntax:
ng build --output-path ../folder_name --watch

Example:
ng build --output-path ../build --watch

Production Mode Syntax:
ng build --prod --build-optimizer --output-path=../folder_name --output-hashing=none --watch

Example:
ng build --prod --build-optimizer --output-path=../build/prod --output-hashing=none --watch




Share on Google Plus

About Ram Pukar

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment

0 comments:

Post a Comment