Files
Andrew Kushnir 56ca7d385b perf(common): make NgLocalization token tree-shakable (#45118) (#45226)
This commit updates the `NgLocalization` token to become tree-shakable (vs using a direct reference to that token in the `providers` section of the `CommonModule`). The `NgLocalization` token is used for apps that use i18n and for other apps it would be excluded from the bundle.

PR Close #45118

PR Close #45226
2022-03-02 01:02:54 +00:00

80 lines
2.2 KiB
JSON

{
"cli-hello-world": {
"master": {
"uncompressed": {
"runtime": 1083,
"main": 124282,
"polyfills": 37226
}
}
},
"cli-hello-world-ivy-minimal": {
"master": {
"uncompressed": {
"runtime": 1107,
"main": "TODO(i): temporarily increase the payload size limit from 17597 - this needs to be investigate further what caused the increase.",
"main": "Likely there is a missing PURE annotation https://github.com/angular/angular/pull/43344",
"main": "Tracking issue: https://github.com/angular/angular/issues/43568",
"main": 20378,
"polyfills": 37250
}
}
},
"cli-hello-world-ivy-compat": {
"master": {
"uncompressed": {
"runtime": 1105,
"main": 131270,
"polyfills": 37248
}
}
},
"cli-hello-world-ivy-i18n": {
"master": {
"uncompressed": {
"runtime": 929,
"main": 123958,
"polyfills": 37933
}
}
},
"cli-hello-world-lazy": {
"master": {
"uncompressed": {
"runtime": 2835,
"main": 230780,
"polyfills": 37244,
"src_app_lazy_lazy_module_ts": 795
}
}
},
"forms": {
"master": {
"uncompressed": {
"runtime": 1063,
"main": 155607,
"polyfills": 36975
}
}
},
"animations": {
"master": {
"uncompressed": {
"runtime": 1070,
"main": 155563,
"polyfills": 37242
}
}
},
"hello_world__closure": {
"master": {
"uncompressed": {
"bundle": "TODO(i): temporarily increase the payload size limit from 105779 - this is due to a closure issue related to ESM reexports that still needs to be investigated",
"bundle": "TODO(i): we should define ngDevMode to false in Closure, but --define only works in the global scope.",
"bundle": "TODO(i): (FW-2164) TS 3.9 new class shape seems to have broken Closure in big ways. The size went from 169991 to 252338",
"bundle": "TODO(i): after removal of tsickle from ngc-wrapped / ng_package, we had to switch to SIMPLE optimizations which increased the size from 252338 to 1198917, see PR#37221 and PR#37317 for more info",
"bundle": 1214857
}
}
}
}