I read the following in Angular docs:
--vendor-chunk Generate a separate bundle containing only vendor libraries. This option should only used for development.
--vendor-chunk
Generate a separate bundle containing only vendor libraries. This option should only used for development.
But there are no details about why this option should only be used for development. I've read in other places that they recommend to separate the vendor chunk so clients don't need to download it again when we release a new version of the application (because the main chunk changes, but the vendor chunk doesn't necessarily change).
Why is Angular's docs recommend to sue this only in development?
2.1m questions
2.1m answers
60 comments
57.0k users