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:
Diffstat (limited to 'config/webpack.config.js')
-rw-r--r--config/webpack.config.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/config/webpack.config.js b/config/webpack.config.js
index 652ada1d832..ce00bef496d 100644
--- a/config/webpack.config.js
+++ b/config/webpack.config.js
@@ -278,6 +278,14 @@ module.exports = {
chunks: 'initial',
minChunks: autoEntriesCount * 0.9,
}),
+ graphql: {
+ priority: 16,
+ name: 'graphql',
+ chunks: 'all',
+ test: /[\\/]node_modules[\\/][^\\/]*(immer|apollo|graphql|zen-observable)[^\\/]*[\\/]/,
+ minChunks: 2,
+ reuseExistingChunk: true,
+ },
monaco: {
priority: 15,
name: 'monaco',