-
Notifications
You must be signed in to change notification settings - Fork 12k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
using the --aot flag breaks custom annotations #2952
Comments
Looks like an Angular Compiler problem more than an Angular CLI problem. I'd suspect you'll get the same with other repos like https://github.com/mgechev/angular-seed or https://github.com/qdouble/angular-webpack2-starter (which seems to have had more fun with AoT judging by https://github.com/qdouble/angular-webpack2-starter#aot--donts). |
No, it's problem with Angular-CLI. |
Dup: #2799 |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
OS?
Windows 8
Versions.
angular-cli: 1.0.0-beta.19-3
node: 6.7.0
os: win32 x64
Repro steps.
I create the repo to demonstrate this issue
This is regular app which was created with
ng new
command.I added definition of dumb
log
annotation insideapp.component.ts
file and decoratetitle
property of the app component with this annotation.If I run this app with
ng serve
it works well.If I run this app with
ng serve --aot
message doesn't appears to the console.Same case works well with angular2webpack2-starter
The text was updated successfully, but these errors were encountered: