summaryrefslogtreecommitdiff
path: root/config/webpack.config.js
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2018-05-01 17:40:35 +0000
committerClement Ho <clemmakesapps@gmail.com>2018-05-01 17:40:35 +0000
commit6b1e4ad5e85dd9965e4a1f9c45a6632e95c3f839 (patch)
tree79495cd2dbfa39e1c1b371c663d090efdddb62f8 /config/webpack.config.js
parent71d53ebcf8ba098cacc088ed53af8cda12a1226c (diff)
downloadgitlab-ce-6b1e4ad5e85dd9965e4a1f9c45a6632e95c3f839.tar.gz
Fix memory and performance issues in Karma test suite
Diffstat (limited to 'config/webpack.config.js')
-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 39e9fbbd530..b9d098ff9b9 100644
--- a/config/webpack.config.js
+++ b/config/webpack.config.js
@@ -69,6 +69,9 @@ const config = {
test: /\.js$/,
exclude: /(node_modules|vendor\/assets)/,
loader: 'babel-loader',
+ options: {
+ cacheDirectory: path.join(ROOT_PATH, 'tmp/cache/babel-loader'),
+ },
},
{
test: /\.vue$/,