mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-19 11:26:02 +00:00
* fix(producer): charge generated mount scripts and scoped styles to the expansion budget The expansion budget charged only the source bytes of each mounted file. The inliner wraps every inline script in kilobytes of scoping code and prefixes every style rule with the host's scope, so tiny scripts or a long composition id over many rules assembled a page hundreds of times larger than its source. The inliner now reports what it generates through a chargeEmitted option. Each wrapped script is charged once built. Each style rule reserves an upper bound before it is scoped and settles to its real size after, so no rule is built past the limit. Generated output has its own 32 MB allowance. * fix(core): reserve the separator postcss re-joins scoped selectors with The per-rule reservation summed a bound per selector but left out the separator. postcss's selectors setter re-joins the list with the first separator in the authored selector, so a wide first separator over many selectors grew the rule past its reservation before it was charged. * test(core): give the scoper bound test the same time limit as its neighbour
63 lines
1.2 KiB
JSON
63 lines
1.2 KiB
JSON
{
|
|
"@hyperframes/aws-lambda": {
|
|
"packed": 80500,
|
|
"unpacked": 290508
|
|
},
|
|
"@hyperframes/cli": {
|
|
"packed": 8577627,
|
|
"unpacked": 25500000
|
|
},
|
|
"@hyperframes/core": {
|
|
"packed": 1830000,
|
|
"unpacked": 4639000
|
|
},
|
|
"@hyperframes/engine": {
|
|
"packed": 510000,
|
|
"unpacked": 1742862
|
|
},
|
|
"@hyperframes/gcp-cloud-run": {
|
|
"packed": 49412,
|
|
"unpacked": 170124
|
|
},
|
|
"@hyperframes/inspector": {
|
|
"packed": 933584,
|
|
"unpacked": 4010650
|
|
},
|
|
"@hyperframes/lint": {
|
|
"packed": 191022,
|
|
"unpacked": 737342
|
|
},
|
|
"@hyperframes/parsers": {
|
|
"packed": 215500,
|
|
"unpacked": 915000
|
|
},
|
|
"@hyperframes/player": {
|
|
"packed": 160300,
|
|
"unpacked": 549900
|
|
},
|
|
"@hyperframes/producer": {
|
|
"packed": 936000,
|
|
"unpacked": 3491355
|
|
},
|
|
"@hyperframes/sdk": {
|
|
"packed": 90662,
|
|
"unpacked": 325069
|
|
},
|
|
"@hyperframes/shader-transitions": {
|
|
"packed": 212864,
|
|
"unpacked": 825937
|
|
},
|
|
"@hyperframes/share": {
|
|
"packed": 148738,
|
|
"unpacked": 575775
|
|
},
|
|
"@hyperframes/studio": {
|
|
"packed": 6589635,
|
|
"unpacked": 26703858
|
|
},
|
|
"@hyperframes/studio-server": {
|
|
"packed": 188871,
|
|
"unpacked": 732018
|
|
}
|
|
}
|