+ 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
21 lines
582 B
YAML
21 lines
582 B
YAML
name: examples
|
|
environment:
|
|
sdk: '>=1.4.0'
|
|
dependencies:
|
|
angular2:
|
|
path: ../angular2
|
|
browser: '>=0.10.0 <0.11.0'
|
|
dev_dependencies:
|
|
guinness: ">=0.1.16 <0.2.0"
|
|
benchpress:
|
|
path: ../benchpress
|
|
transformers:
|
|
- angular2:
|
|
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]
|
|
#commandLineOptions: [--trust-type-annotations, --dump-info]
|
|
#commandLineOptions: [--dump-info]
|