Change the method used to discover Directive annotated classes to ensure that the Dart code can be tree shaken. Closes #497 Closes $\x23736
11 lines
239 B
Dart
11 lines
239 B
Dart
library bar;
|
|
|
|
import 'package:angular2/src/core/annotations/annotations.dart';
|
|
import 'package:angular2/src/core/annotations/template.dart';
|
|
|
|
@Component(selector: '[soup]')
|
|
@Template(inline: 'Salad')
|
|
class MyComponent {
|
|
MyComponent();
|
|
}
|