Skip to content

Commit 583e411

Browse files
filipesilvaalexeagle
authored andcommitted
fix(@ngtools/webpack): log ngcc info messages (angular#14320)
Fix angular#14194
1 parent a9a31c8 commit 583e411

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/ngcc_processor.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,10 @@ class NgccLogger implements Logger {
112112

113113
debug(..._args: string[]) { }
114114

115-
info(..._args: string[]) { }
115+
info(...args: string[]) {
116+
// Log to stderr because it's a progress-like info message.
117+
process.stderr.write(`\n${args.join(' ')}\n`);
118+
}
116119

117120
warn(...args: string[]) {
118121
this.compilationWarnings.push(args.join(' '));

0 commit comments

Comments
 (0)