refactor(upgrade): re-export the new static upgrade APIs on new entry

Add upgrade-static.umd.js bundles
This allows depending on it without getting a transitive dependency on compiler.

BREAKING CHANGE:

Four newly added APIs in 2.2.0-beta:
downgradeComponent, downgradeInjectable, UpgradeComponent, and UpgradeModule
are no longer exported by @angular/upgrade.
Import these from @angular/upgrade/static instead.
This commit is contained in:
Alex Eagle
2016-10-20 19:35:35 -07:00
committed by vsavkin
parent 7742ec00e7
commit a26dd28bdb
18 changed files with 81 additions and 50 deletions

View File

@ -12,5 +12,4 @@
* Entry point for all public APIs of the upgrade package.
*/
export * from './src/upgrade';
export * from './src/aot';
// This file only reexports content of the `src` folder. Keep it that way.