I have already used ng build -prod -aot -vc -cc -dop --buildOptimize
to reduce the size of the builded app.
Now this is my situation:
Is it pos
Sorry For Late Reply. This answer will work for all newer versions of Angular.
Ex:
import {MatButtonModule} from '@angular/material/button';
istead of
import {MatButtonModule} from '@angular/material';
If you are using LazyLoading module, Import required packages in the specific module.
I followed these steps, I got reduced bundle size from 9.0MB to 1.45MB.
Hope it will work for you guys also :).