Commit 42a77036 authored by Mike Greiling's avatar Mike Greiling

Merge branch 'webpack-create-graphql-chunk' into 'master'

Create new webpack chunk for graphql

See merge request gitlab-org/gitlab!43421
parents eb8a9f7e ca33bcbf
......@@ -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',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment