diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-06-01 21:08:09 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-06-01 21:08:09 +0000 |
commit | 3902d464d6045c2f5f6b687c0acf3254d7458928 (patch) | |
tree | 6a814f69362ef173d0a411ce516321aeb91685f7 /config/webpack.vendor.config.js | |
parent | d7ed3b4766871c30f50736c1d9eedc46c4035841 (diff) | |
download | gitlab-ce-3902d464d6045c2f5f6b687c0acf3254d7458928.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'config/webpack.vendor.config.js')
-rw-r--r-- | config/webpack.vendor.config.js | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/config/webpack.vendor.config.js b/config/webpack.vendor.config.js index 3ac1121fca4..548eca4200f 100644 --- a/config/webpack.vendor.config.js +++ b/config/webpack.vendor.config.js @@ -65,7 +65,23 @@ module.exports = { }), new YarnCheck({ rootDirectory: ROOT_PATH, - exclude: /ts-jest/, + exclude: new RegExp( + [ + /* + chokidar has a newer version which do not depend on fsevents, + is faster and only compatible with newer node versions (>=8) + + Their actual interface remains the same and we can safely _force_ + newer versions to get performance and security benefits. + + This can be removed once all dependencies are up to date: + https://gitlab.com/gitlab-org/gitlab/-/issues/219353 + */ + 'chokidar', + // We are ignoring ts-jest, because we force a newer version, compatible with our current jest version + 'ts-jest', + ].join('|'), + ), forceKill: true, }), ], |