diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-04-04 15:15:28 -0500 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-04-04 15:15:28 -0500 |
commit | 550402419ddddf8d0931c586c432f943ca2c488a (patch) | |
tree | aa5ad13b64cf91e203db06005698167f30b25d72 /config | |
parent | 4dd841c95aea291544bf69e796a757ba82f06a77 (diff) | |
download | gitlab-ce-550402419ddddf8d0931c586c432f943ca2c488a.tar.gz |
use a less memory-intensive sourcemap when running in CI
Diffstat (limited to 'config')
-rw-r--r-- | config/webpack.config.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/webpack.config.js b/config/webpack.config.js index 728c2a64053..36c09c14d56 100644 --- a/config/webpack.config.js +++ b/config/webpack.config.js @@ -52,7 +52,7 @@ var config = { filename: IS_PRODUCTION ? '[name].[chunkhash].bundle.js' : '[name].bundle.js' }, - devtool: 'inline-source-map', + devtool: 'cheap-module-source-map', module: { rules: [ @@ -163,6 +163,7 @@ if (IS_PRODUCTION) { } if (IS_DEV_SERVER) { + config.devtool = 'cheap-module-eval-source-map'; config.devServer = { port: DEV_SERVER_PORT, headers: { 'Access-Control-Allow-Origin': '*' }, |