feat(dart/transform) Remove import of dart:mirrors
+ Precede the call to `new ReflectionCapabilities()` with our generated code which populates the reflection map statically. + Add the import of our generated code. + Once we are generating all necessary code, we will remove the import of reflection_capabilities.dart and the instantiation of `ReflectionCapabilities`, cutting the dependency on dart:mirrors. Closes #761
This commit is contained in:
@ -11,9 +11,8 @@ dev_dependencies:
|
||||
path: ../benchpress
|
||||
transformers:
|
||||
- angular2:
|
||||
bootstrap_entry_point: web/src/hello_world/index_common.dart
|
||||
entry_point: web/src/hello_world/index.dart
|
||||
html_entry_point: web/src/hello_world/index.html
|
||||
entry_point: web/src/hello_world/index_common.dart
|
||||
reflection_entry_point: web/src/hello_world/index.dart
|
||||
- $dart2js:
|
||||
minify: true
|
||||
commandLineOptions: [--trust-type-annotations, --trust-primitives, --dump-info]
|
||||
|
Reference in New Issue
Block a user