From cc0f21ddbdefea67a59606486533c8c789536613 Mon Sep 17 00:00:00 2001 From: tianma-if Date: Tue, 13 Oct 2026 17:59:49 +0800 Subject: [PATCH] fix: account for new Japanese strings in deferred locale budget --- scripts/verify-web-performance.mjs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/verify-web-performance.mjs b/scripts/verify-web-performance.mjs index a1a20f1f..283b25b4 100644 --- a/scripts/verify-web-performance.mjs +++ b/scripts/verify-web-performance.mjs @@ -52,9 +52,9 @@ const allowedLargeChunkPattern = /^(?:vendor-(?:code-highlight|beautiful-mermaid // while retaining the initial preload budget and the checks below. const boundedDeferredChunks = [ { pattern: /^vendor~mathlive-loader-.*\.js$/, maxBytes: 850 * 1024 }, - // PicGo, pane resizing, and agent diagnostics bring the deferred catalog to - // ~539 KiB. Keep a bounded allowance without changing the preload budget. - { pattern: /^i18n-ja-.*\.js$/, maxBytes: 540 * 1024 }, + // Storage usage and companion failure diagnostics bring the deferred catalog + // to ~542 KiB. Keep a bounded allowance without changing the preload budget. + { pattern: /^i18n-ja-.*\.js$/, maxBytes: 545 * 1024 }, ]; const allowedLargeChunk = ({ name, size }) => allowedLargeChunkPattern.test(name) ||