Minification and Uglyfication in Angular Deployement
Minification : While building Angular Application white spaces , unused variable , unused token removal is called Minification and it reduced build size .
uglyfication : While building Angular app variable name , function name class and other things name changes and compiled so after build in view source file you will not able to see the script , vairable class and other things . it also reduce files and insure security. its called Uglification .
you can make build by
ng build --dev For Development
ng build --prod For Production Release
after building you cann see the build package in dist Folder in your currwnt app.
all bukld will will be in compressed and combined format.
Minification : While building Angular Application white spaces , unused variable , unused token removal is called Minification and it reduced build size .
uglyfication : While building Angular app variable name , function name class and other things name changes and compiled so after build in view source file you will not able to see the script , vairable class and other things . it also reduce files and insure security. its called Uglification .
you can make build by
ng build --dev For Development
ng build --prod For Production Release
after building you cann see the build package in dist Folder in your currwnt app.
all bukld will will be in compressed and combined format.