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:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-03-10 00:07:57 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-03-10 00:07:57 +0300
commit5aa96ff14229dba7e35f213354963febf3ad2833 (patch)
tree544f3233c05f7f1aa723ea9f13036f2f45d91745 /config/webpack.config.js
parent7ebcead8cfd2edb810dd0cbda816b6cfbd170fe3 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'config/webpack.config.js')
-rw-r--r--config/webpack.config.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/webpack.config.js b/config/webpack.config.js
index 05a217c04fe..e220482d769 100644
--- a/config/webpack.config.js
+++ b/config/webpack.config.js
@@ -161,7 +161,9 @@ module.exports = {
},
{
test: /\.js$/,
- exclude: path => /node_modules|vendor[\\/]assets/.test(path) && !/\.vue\.js/.test(path),
+ exclude: path =>
+ /node_modules\/(?!tributejs)|node_modules|vendor[\\/]assets/.test(path) &&
+ !/\.vue\.js/.test(path),
loader: 'babel-loader',
options: {
cacheDirectory: path.join(CACHE_PATH, 'babel-loader'),