fix(core): global error handler should be registered outside webpack runtime (#8556)

This commit is contained in:
forehalo
2024-10-21 05:58:05 +00:00
parent db374f7feb
commit 1ed9775c45
7 changed files with 99 additions and 92 deletions

View File

@@ -5,11 +5,6 @@ function testPackageName(regexp: RegExp): (module: any) => boolean {
// https://hackernoon.com/the-100-correct-way-to-split-your-chunks-with-webpack-f8a9df5b7758
export const productionCacheGroups = {
errorHandler: {
test: /global-error-handler/,
priority: 1000,
enforce: true,
},
asyncVendor: {
test: /[\\/]node_modules[\\/]/,
name(module: any) {