summaryrefslogtreecommitdiffstats
path: root/webpack.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js13
1 files changed, 5 insertions, 8 deletions
diff --git a/webpack.config.js b/webpack.config.js
index f21c481995..e733a7784e 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -97,14 +97,6 @@ module.exports = {
splitChunks: {
chunks: 'async',
name: (_, chunks) => chunks.map((item) => item.name).join('-'),
- cacheGroups: {
- // this bundles all monaco's languages into one file instead of emitting 1-65.js files
- monaco: {
- test: /monaco-editor/,
- name: 'monaco',
- chunks: 'async',
- },
- },
},
},
module: {
@@ -325,5 +317,10 @@ module.exports = {
},
stats: {
children: false,
+ excludeAssets: [
+ // exclude monaco's language chunks in stats output for brevity
+ // https://github.com/microsoft/monaco-editor-webpack-plugin/issues/113
+ /^js\/[0-9]+\.js$/,
+ ],
},
};