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:
authorPaul Slaughter <pslaughter@gitlab.com>2018-10-06 00:08:48 +0300
committerPaul Slaughter <pslaughter@gitlab.com>2018-10-06 00:08:48 +0300
commitaf6dbac1717eb1842d3bbbda7f03d2df05524e92 (patch)
tree5d4fb8c3117612a898c45d074e4850eba721dbb2
parent5ad5d2f14e688733e177a18dc15e3e7645fcdc57 (diff)
Add babelrc option to webpack configfix-webpack-babelrc-config
**Why?** This fixes a bug where webpack threw random errors because babelrc was not being loaded.
-rw-r--r--config/webpack.config.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/webpack.config.js b/config/webpack.config.js
index 583f05f2fb7..653fe55da84 100644
--- a/config/webpack.config.js
+++ b/config/webpack.config.js
@@ -106,6 +106,7 @@ module.exports = {
loader: 'babel-loader',
options: {
cacheDirectory: path.join(CACHE_PATH, 'babel-loader'),
+ babelrc: true,
},
},
{