crisbeto
66725b7b37
perf(ivy): move local references into consts array (#33129)
Follow-up from #32798. Moves the local references array into the component def's `consts` in order to make it compress better.
Before:
```
const _c0 = ['foo', ''];
SomeComp.ngComponentDef = defineComponent({
template: function() {
element(0, 'div', null, _c0);
}
});
```
After:
```
SomeComp.ngComponentDef = defineComponent({
consts: [['foo', '']],
template: function() {
element(0, 'div', null, 0);
}
});
```
PR Close #33129
2019-11-04 16:30:53 +00:00
..
2019-11-04 15:59:10 +00:00
2019-10-17 16:10:10 -04:00
2019-11-04 16:30:53 +00:00
2019-07-18 14:21:26 -07:00
2019-10-17 16:10:10 -04:00
2019-10-16 16:36:19 -04:00
2019-09-03 11:59:39 -07:00
2019-11-04 15:59:10 +00:00
2019-10-17 16:10:10 -04:00
2019-07-01 10:11:08 -07:00
2019-11-04 16:30:53 +00:00
2019-10-24 14:42:15 -07:00
2019-10-14 23:08:10 +00:00
2019-03-26 12:50:38 -07:00
2019-03-27 12:36:23 -07:00
2019-10-16 16:36:19 -04:00
2019-10-04 11:48:12 -07:00
2018-11-07 10:35:20 -08:00
2019-10-24 10:16:25 -07:00
2019-09-17 13:32:06 -07:00
2019-10-18 13:15:16 -04:00
2019-09-12 15:35:34 -07:00
2018-11-30 13:41:21 -08:00
2017-12-22 13:10:51 -08:00
2018-12-03 08:19:56 -08:00
2019-01-14 09:55:30 -08:00
2018-02-06 07:56:33 -08:00
2019-10-17 12:50:04 -04:00
2019-09-09 19:10:54 -04:00
2019-08-29 21:51:56 -07:00
2018-10-17 13:08:14 -07:00
2019-10-28 11:00:31 -07:00
2019-02-21 07:46:21 -08:00
2019-01-10 16:31:44 -08:00