Commit 1d7a5048 authored by Mike Greiling's avatar Mike Greiling

Explicitly define monaco vendor chunk in webpack

parent fd99270c
......@@ -260,6 +260,14 @@ module.exports = {
chunks: 'initial',
minChunks: autoEntriesCount * 0.9,
}),
monaco: {
priority: 15,
name: 'monaco',
chunks: 'initial',
test: /[\\/]node_modules[\\/]monaco-editor[\\/]/,
minChunks: 2,
reuseExistingChunk: true,
},
vendors: {
priority: 10,
chunks: 'async',
......
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