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-23 11:59:24 -07:00
2019-10-14 20:14:16 +00:00
2018-06-25 07:57:13 -07:00
2019-10-31 23:43:32 +00:00
2019-10-29 11:49:32 -07:00
2019-02-12 20:58:27 -08:00
2019-10-22 13:30:16 -04:00
2019-10-02 14:52:00 -07:00
2019-11-04 16:30:53 +00:00
2019-04-02 10:28:52 -07:00
2019-10-24 09:53:58 -07:00
2019-10-04 13:54:09 -07:00
2019-04-02 10:36:26 -07:00
2018-03-27 14:51:53 -04:00
2019-02-12 20:58:27 -08:00
2019-02-19 12:56:25 -08:00
2018-03-16 12:57:11 -07:00
2019-10-25 13:11:34 -07:00
2019-10-25 13:11:34 -07:00
2018-08-27 21:07:53 -04:00
2019-10-16 16:36:19 -04:00
2019-10-16 16:36:19 -04:00
2019-02-12 20:58:27 -08:00
2017-12-08 10:24:26 -08:00
2019-10-02 13:04:26 -07:00
2019-10-25 12:13:23 -07:00
2019-10-16 16:36:19 -04:00
2019-10-25 13:11:34 -07:00
2018-08-14 11:58:47 -07:00
2019-10-10 15:18:44 -07:00
2018-03-28 09:15:16 -07:00
2017-08-16 17:58:53 -05:00
2019-07-22 09:48:35 -07:00
2017-08-16 17:58:53 -05:00
2018-02-12 14:34:59 -08:00
2017-05-23 10:41:23 -06:00
2018-10-04 10:11:17 -07:00
2018-01-24 12:35:30 -08:00
2018-08-23 16:51:15 -04:00
2017-08-15 16:30:09 -07:00
2017-09-28 14:20:20 -07:00
2017-08-16 17:58:53 -05:00
2019-10-10 15:19:12 -07:00
2018-05-10 15:48:13 -07:00