Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2019-09-10 11:24:24 +0300
committerMike Greiling <mike@pixelcog.com>2019-09-10 11:24:24 +0300
commitcadc8c6a409189893d6bc01c953d35ca034889c9 (patch)
tree45ae5d352e8a62946acfba77ddc6b64adfef58ce
parent96480a31abf1190438aa142d44756a5177b6ac35 (diff)
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({