Prior to this commit, duplicated styles defined in multiple components in the same file were not shared between components, thus causing extra payload size. This commit updates compiler logic to use `ConstantPool` for the styles (while generating the `styles` array on component def), which enables styles sharing when needed (when duplicates styles are present). Resolves #38204. PR Close #38213
29 lines
526 B
JSON
Executable File
29 lines
526 B
JSON
Executable File
{
|
|
"aio": {
|
|
"master": {
|
|
"uncompressed": {
|
|
"runtime-es2015": 2987,
|
|
"main-es2015": 450880,
|
|
"polyfills-es2015": 52685
|
|
}
|
|
}
|
|
},
|
|
"aio-local": {
|
|
"master": {
|
|
"uncompressed": {
|
|
"runtime-es2015": 2987,
|
|
"main-es2015": 448419,
|
|
"polyfills-es2015": 52630
|
|
}
|
|
}
|
|
},
|
|
"aio-local-viewengine": {
|
|
"master": {
|
|
"uncompressed": {
|
|
"runtime-es2015": 3097,
|
|
"main-es2015": 429885,
|
|
"polyfills-es2015": 52195
|
|
}
|
|
}
|
|
}
|
|
} |