Create transformers that allow specifying transformer actions on specific libraries. * angular2/transform/codegen: Generates all necessary code. * angular2/transform/reflection_rewriter: Replaces `bootstrap` calls in application entry points to remove transitive dart:mirrors import, resulting in smaller code size & faster execution. * angular2/transform/deferred_rewriter: Rewrites deferred imports and `loadLibrary` calls to initialize Angular2 and preserve deferred operation. Proper configuration of these three transformers can replace the single angular2 transformer, resulting in significant performance gains for builds of large angular2 apps. Update angular2 itself to declare the codegen transformer, since it has neither deferred imports nor application entry points. Remove the undocumented & unused quick_transformer.
Angular2
The sources for this package are in the main Angular2 repo. Please file issues and pull requests against that repo. This is the repository for the upcoming 2.0 version. If you're looking for the current official version of Angular you should go to angular/angular.js
This package contains different sources for different users:
- The files located in the root folder can be consumed using CommonJS.
- The files under
/es6
are es6 compatible files that can be transpiled to es5 using any transpiler. This contains:dev/
: a development version that includes runtime type assertionsprod/
: a production version that does not include runtime type assertions
- The files under
/ts
are the TypeScript source files.
License: Apache MIT 2.0