fix: Ignores ResizeObserver errors in development mode (#24868)

This commit is contained in:
Michael S. Molina 2023-08-02 11:41:21 -03:00 committed by GitHub
parent 44e4fb1090
commit 434db0d686
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -512,7 +512,11 @@ if (isDevMode) {
() => proxyConfig,
],
client: {
overlay: { errors: true, warnings: false },
overlay: {
errors: true,
warnings: false,
runtimeErrors: error => !/ResizeObserver/.test(error.message),
},
logging: 'error',
},
static: path.join(process.cwd(), '../static/assets'),