Build increased by 100% when set "NG_BUILD_MANGLE=false" #12
Unanswered
rbernalagainagain
asked this question in
Q&A
Replies: 1 comment 3 replies
-
It's a pity that Angular doesn't optimize the code correctly with that option set. We use the name of the classes to handle caching so we can't have their name minificated. A workaround might be to add a way to provide custom cache keys in order to be able to optimize the code. For now I'll create an issue on Angular's repo and see if it can be fixed. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the Angular projects, the size of the build in increased more than 100% when set in the application NG_BUILD_MANGLE=false.
example: NG_BUILD_MANGLE=false.
example: NG_BUILD_MANGLE=true
I don't consider this an issue, but I don't think it's much of a sacrifice for the applications.
Angular is very restrictive with its core, and I can't find a possible solution quickly.
What possible solution can we find?
Beta Was this translation helpful? Give feedback.
All reactions