test: bound deferred Japanese catalog with poster controls
This commit is contained in:
1 parent
69d4668d06
commit
196340752a
1 file changed
+2
-1
@@ -52,7 +52,8 @@ 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 },
|
||||
{ pattern: /^i18n-ja-.*\.js$/, maxBytes: 525 * 1024 },
|
||||
// Poster editing adds localized controls; the current catalog is ~527 KiB.
|
||||
{ pattern: /^i18n-ja-.*\.js$/, maxBytes: 530 * 1024 },
|
||||
];
|
||||
const allowedLargeChunk = ({ name, size }) =>
|
||||
allowedLargeChunkPattern.test(name) ||
|
||||
|
||||
Reference in new issue
Block a user