Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 03125eb

Browse files
committedJan 7, 2025
VisualEditor must declare modules that are loaded on page load
We have begun monitoring all modules loaded on page load, by requiring that they define modules added on page load in bundlesize.config.json This allows us to remove the hardcoded list in core in Ia4acca48cb231cc24f685e373aac1292082dd2cf These are initially defined as null as it is up to individual maintainers about whether they want to enforce values and the editing team have said they do not wish to do that. Bug: T360590 Change-Id: I414fc0e0c97d4236bba59938309eb0d7e0c5dcde
1 parent 3ba774e commit 03125eb

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
 

‎bundlesize.config.json

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[
2+
{
3+
"resourceModule": "ext.visualEditor.desktopArticleTarget.noscript",
4+
"maxSize": null
5+
},
6+
{
7+
"resourceModule": "ext.visualEditor.desktopArticleTarget.init",
8+
"maxSize": null
9+
},
10+
{
11+
"resourceModule": "ext.visualEditor.targetLoader",
12+
"maxSize": null
13+
}
14+
]

0 commit comments

Comments
 (0)
Please sign in to comment.