const HeroDetail = upgradeAdapter.upgradeNg1Component('heroDetail');

We have a library of ng1 components. For someone to be able to use it in 
their ng2 app, they need to call the upgradeNg1Component method to generate 
the ng2 compatible class.
Is it possible to run upgradeNg1Component at build time for all our ng1 
components and generate their respective classes ? That ways we can serve 
those classes as a part of our library and the users won't have the runtime 
overhead of generating these classes. But i am not sure if doing something 
like this is possible ?

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to