Skip to content

Commit 6748bc6

Browse files
authored
fix(webpack): restore previous build logging (#14801)
1 parent ad082c9 commit 6748bc6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

packages/webpack/src/executors/webpack/lib/run-webpack.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ import * as webpack from 'webpack';
22
import { Observable } from 'rxjs';
33

44
// TODO(jack): move to dev-server executor
5-
export function runWebpack(config: webpack.Configuration): Observable<any> {
5+
export function runWebpack(
6+
config: webpack.Configuration
7+
): Observable<webpack.Stats> {
68
return new Observable((subscriber) => {
79
// Passing `watch` option here will result in a warning due to missing callback.
810
// We manually call `.watch` or `.run` later so this option isn't needed here.

packages/webpack/src/executors/webpack/webpack.impl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ export async function* webpackExecutor(
142142
switchMap((config) => {
143143
return runWebpack(config).pipe(
144144
tap((stats) => {
145-
console.info(stats.toString());
145+
console.info(stats.toString(config.stats));
146146
})
147147
);
148148
}),

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy