[Q] Bundle size is not decreasing in angular prod build #2393
Unanswered
GillesVercammen
asked this question in
Q&A
Replies: 6 comments
-
Same issue here, guess the library is not optimized for tree-shaking? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Same issue for me. Anyone found any solutions? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Same issue here. Please help |
Beta Was this translation helpful? Give feedback.
0 replies
-
Same issue |
Beta Was this translation helpful? Give feedback.
0 replies
-
Same issue here |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
we are using exceljs in our project but we noticed that the package size is huge.
In dev it is not a real problem but for the production builds, the size is not decreasing.
We are like the ease of use of the package, so we don't actually want to change to another implementation.
But if we aren't able to get it smaller, it will be necessary.
Have any of you guys have an idea why the package size isn't decreasing for our prod build, or if we need to do something in order to achieve i?
These are the commands used to analyze the bundle
Below are 2 images comparing the node modules size and content of the dev and prod bundle, as you can see the size of exceljs stays 1.08mb in both bundles.
dev:
![devbundle](https://user-images.githubusercontent.com/22342373/103407486-25051b00-4b5f-11eb-8f68-1526a6a32092.PNG)
prod:
![prodbundle](https://user-images.githubusercontent.com/22342373/103407348-a9a36980-4b5e-11eb-9734-a8c0e0f58c80.PNG)
Beta Was this translation helpful? Give feedback.
All reactions