Re:Our long term plan to make GitLab as fast as possible wit...
by Androider on Tuesday February 07, 2017 @09:04AM
(#13589370)
Surely the sourcemap is externalized to a separate file and only loaded if you attach a debugger, if the sourcemap is even deployed to prod together with the bundle at all (unlikely in my experience). 'source-map' produces much nicer traces than 'cheap-module-source-map', and both type of maps are going to be huge in any case.
> if (IS_PRODUCTION) { > config.devtool = 'source-map';
Ouch! This will make for a huge bundle. See https://webpack.github.io/docs/configuration.html#devtool
Merge request here: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9028