Output events not caught under AOT
See original GitHub issueOutput events not caught under AOT. Works fine (events get caught) in default, no AOT configuration.
Configuration sample (angular.json):
"configurations": {
"stage": {
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.stage.ts"
}
]
}
}
$ ng version
Angular CLI: 7.3.8
Node: 8.10.0
OS: linux x64
Angular: 7.2.12
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router
Package Version
-----------------------------------------------------------
@angular-devkit/architect 0.13.8
@angular-devkit/build-angular 0.13.8
@angular-devkit/build-optimizer 0.13.8
@angular-devkit/build-webpack 0.13.8
@angular-devkit/core 7.3.8
@angular-devkit/schematics 7.3.8
@angular/cdk 7.3.7
@angular/cli 7.3.8
@angular/flex-layout 7.0.0-beta.24
@angular/material 7.3.7
@ngtools/webpack 7.3.8
@schematics/angular 7.3.8
@schematics/update 0.13.8
rxjs 6.4.0
typescript 3.2.4
webpack 4.29.0
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
EventEmitter - Angular
Use in components with the @Output directive to emit custom events synchronously or asynchronously, ... This class is "final" and should not be...
Read more >error: This is probably not a problem with npm. There is likely ...
I'm on Ubuntu 18.04. I fixed this problem by increasing the inotify max_user_watches using this command:.
Read more >Angularize the output markdown input for the purpose of links
We are creating a knowledge base using markdown and would like to be able to navigate between the different pages using markdown links....
Read more >Exception Handling with try and catch Keywords
Indicates that an error has occurred in a transaction that is using Optimistic Concurrency Control. The code will not be retried.
Read more >Troubleshoot invocation issues in Lambda
Invocation errors can be caused by issues with request parameters, event structure, function settings, user permissions, resource permissions, or limits.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
ill find time over the next couple of days to do it
Resolved