-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed
Labels
Product: TypeScriptIssues & enhancements related to TS/TypeScriptIssues & enhancements related to TS/TypeScriptType: Enhancement
Description
I'm using Highcharts and Highstocks with Angular in my application. The functionality is good, however it's impossible to optimize the bundle size of Highcharts:
Take look at this screenshot of my application bundle information:
You can see that Highcharts ate up to nearly 500kb (dark blue outline), even bigger than a chunky framework like Angular (red outline). Even if one uses only one chart in Highcharts, they have to carry on all of the Highcharts code, which is unacceptably unoptimized.
The solution I know here is to modulize Highcharts so that one can only import what they need. Also with new Webpack Tree Shaking, the bundle size will be reduced vastly.
I know this cannot be fixed soon but are you guys thinking about it?
Eschon, blakecallens, sandeeptharayilGit, IGx89, stonecrafter and 42 moreymanvieu, FeldrinH and OysteinAmundsen
Metadata
Metadata
Assignees
Labels
Product: TypeScriptIssues & enhancements related to TS/TypeScriptIssues & enhancements related to TS/TypeScriptType: Enhancement