Simply, the two files are very different.
This is the Angular-CLI file size: (3.59MB)
Angular CLI vendor.bundle.js
And the inspection of that same vendor in source-map-explorer: (1.1MB)
source map explorer vendor.bundle.js
I do not seem to understand that difference.
When I run:
ng serve --prod
I get a result of 3.59MB instead of 1.1MB
How do I overcome that problem?