Mermaid webpack chunk is humongous
The mermaid feature added in gitlab-ce!15107 creates a webpack bundle that includes: - the entire lodash library - moment.js and _all_ locales (a redundant, different version from the one we use elsewhere on gitlab) - _**TWO**_ copies of D3 at different versions ![Screen_Shot_2017-11-27_at_5.31.16_PM](https://gitlab.com/gitlab-org/gitlab-ce/uploads/a0d46b89b4038d924467983d714da6d2/Screen_Shot_2017-11-27_at_5.31.16_PM.png) We are also in the process of upgrading to d3 v4 (gitlab-ce!15585), and this may force us to retain a copy of d3 version 3 in perpetuity until mermaid is updated :frowning: /cc @blackst0ne @jivanvl
issue