diff options
author | Paul Slaughter <pslaughter@gitlab.com> | 2018-10-05 16:08:48 -0500 |
---|---|---|
committer | Paul Slaughter <pslaughter@gitlab.com> | 2018-10-05 16:08:48 -0500 |
commit | af6dbac1717eb1842d3bbbda7f03d2df05524e92 (patch) | |
tree | 5d4fb8c3117612a898c45d074e4850eba721dbb2 | |
parent | 5ad5d2f14e688733e177a18dc15e3e7645fcdc57 (diff) | |
download | gitlab-ce-fix-webpack-babelrc-config.tar.gz |
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.js | 1 |
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, }, }, { |