angular-cn/packages/compiler-cli/ngcc/test/integration
Kara Erickson 755d2d572f refactor(ivy): remove unnecessary fac wrapper (#34076)
For injectables, we currently generate a factory function in the
injectable def (prov) that delegates to the factory function in
the factory def (fac). It looks something like this:

```
factory: function(t) { return Svc.fac(t); }
```

The extra wrapper function is unnecessary since the args for
the factory functions are the same. This commit changes the
compiler to generate this instead:

```
factory: Svc.fac
```

Because we are generating less code for each injectable, we
should see some modest code size savings. AIO's main bundle
is about 1 KB smaller.

PR Close #34076
2019-12-02 11:35:24 -08:00
..
ngcc_spec.ts refactor(ivy): remove unnecessary fac wrapper (#34076) 2019-12-02 11:35:24 -08:00
util.ts test(ngcc): expand integration tests with APF like package layouts (#33875) 2019-11-18 09:11:34 -08:00