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-10-18 13:15:16 -04:00
2019-10-29 16:22:41 -07:00
2019-10-01 14:56:45 -07:00
2019-10-31 23:47:28 +00:00
2019-11-04 16:30:53 +00:00
2019-11-04 16:30:53 +00:00
2019-11-04 16:30:53 +00:00
2019-10-08 09:23:00 -07:00
2019-10-18 13:15:16 -04:00
2019-10-17 16:10:10 -04:00
2019-10-31 23:46:54 +00:00
2019-10-18 13:15:16 -04:00
2019-11-01 17:37:48 +00:00
2019-10-29 11:49:32 -07:00
2019-11-04 15:59:10 +00:00
2019-10-18 13:15:16 -04:00
2019-10-18 13:15:16 -04:00
2019-10-18 13:15:16 -04:00
2019-10-18 13:15:16 -04:00
2019-05-09 11:22:00 -07:00
2019-10-18 14:42:21 -04:00
2019-10-31 22:55:35 +00:00
2019-10-31 22:24:37 +00:00
2019-11-01 17:46:03 +00:00
2019-07-18 14:21:25 -07:00
2017-03-08 16:29:27 -08:00
2019-07-16 13:02:10 -04:00
2019-01-11 11:15:59 -08:00
2017-07-20 16:46:47 -05:00
2017-03-08 16:29:27 -08:00
2019-07-18 14:21:25 -07:00
2019-07-18 14:21:25 -07:00
2019-07-18 14:21:26 -07:00
2019-09-18 13:07:01 -07:00
2019-02-06 14:17:55 -05:00