Update d3 to v4 to enable tree shaking (and reduce the size of our webpack bundles)
What does this MR do?
Updates d3 v3 to v4 and adds a custom made bundle that only includes only what GitLab actually uses to generate its graphs
Screenshots (if relevant)
Before | After |
---|---|
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary -
Tests added for this feature/bug - Review
-
Has been reviewed by UX -
Has been reviewed by Frontend
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Squashed related commits together
What are the relevant issue numbers?
closes https://gitlab.com/gitlab-org/gitlab-ce/issues/37013
EE counterpart
Edited by Taurie Davis