3 ms·
In webpack.config.js > if (IS_PRODUCTION) { > config.devtool = 'source-map'; Ouch! This will make for a huge bundle. See https://webpack.github.io/docs/confi
by megawatthours 10y ago
In webpack.config.js
> if (IS_PRODUCTION) {
> config.devtool = 'source-map';
Ouch! This will make for a huge bundle. See https://webpack.github.io/docs/configuration.html#devtool https://webpack.github.io/docs/configuration.html#devtool
Merge request here: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9028 https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9028
- Androider 10y agoSurely 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.