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:
authorWinnie Hellmann <winnie@gitlab.com>2019-03-14 00:54:52 +0300
committerWinnie Hellmann <winnie@gitlab.com>2019-03-14 00:54:52 +0300
commit2ea8ebfad5c22d53aad2df1228d97a1f53c15947 (patch)
treed1bcf543eac8c01879eb934a679cdaf49d24cd28 /config/webpack.config.js
parent0c6e4b4c728c32923f1090eaf9927d84d7e78e36 (diff)
Move EE-specifics of Karma test bundle behind flag
Diffstat (limited to 'config/webpack.config.js')
-rw-r--r--config/webpack.config.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/webpack.config.js b/config/webpack.config.js
index 55122e341c3..20b3f4c0264 100644
--- a/config/webpack.config.js
+++ b/config/webpack.config.js
@@ -324,6 +324,10 @@ module.exports = {
reportFilename: path.join(ROOT_PATH, 'webpack-report/index.html'),
statsFilename: path.join(ROOT_PATH, 'webpack-report/stats.json'),
}),
+
+ new webpack.DefinePlugin({
+ 'process.env.EE': JSON.stringify(IS_EE),
+ }),
].filter(Boolean),
devServer: {