File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
packages/webpack/src/executors/webpack Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,9 @@ import * as webpack from 'webpack';
2
2
import { Observable } from 'rxjs' ;
3
3
4
4
// 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 > {
6
8
return new Observable ( ( subscriber ) => {
7
9
// Passing `watch` option here will result in a warning due to missing callback.
8
10
// We manually call `.watch` or `.run` later so this option isn't needed here.
Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ export async function* webpackExecutor(
142
142
switchMap ( ( config ) => {
143
143
return runWebpack ( config ) . pipe (
144
144
tap ( ( stats ) => {
145
- console . info ( stats . toString ( ) ) ;
145
+ console . info ( stats . toString ( config . stats ) ) ;
146
146
} )
147
147
) ;
148
148
} ) ,
You can’t perform that action at this time.
0 commit comments