I made an Angular 5 application and when I run ng serve
and tries to open it in browser, it take 20-30 seconds to open because vendor.bundle.js
is 48MB.
Is there any way to minimize it while using compression or another option?
p.s. I can't use ng build
because I am using Docker and Gitlab CI/CD so the only possible way to make it run is by ng serve
i guess.