summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2019-09-10 03:24:24 -0500
committerMike Greiling <mike@pixelcog.com>2019-09-10 03:24:24 -0500
commitcadc8c6a409189893d6bc01c953d35ca034889c9 (patch)
tree45ae5d352e8a62946acfba77ddc6b64adfef58ce
parent96480a31abf1190438aa142d44756a5177b6ac35 (diff)
downloadgitlab-ce-mg-remove-sources-from-webpack-stats.tar.gz
Do not include source code in stats generationmg-remove-sources-from-webpack-stats
-rw-r--r--config/webpack.config.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/webpack.config.js b/config/webpack.config.js
index 969a84e85dd..c8b9828486f 100644
--- a/config/webpack.config.js
+++ b/config/webpack.config.js
@@ -348,6 +348,9 @@ module.exports = {
openAnalyzer: false,
reportFilename: path.join(ROOT_PATH, 'webpack-report/index.html'),
statsFilename: path.join(ROOT_PATH, 'webpack-report/stats.json'),
+ statsOptions: {
+ source: false,
+ },
}),
new webpack.DefinePlugin({