コンソールへのwebpack出力をいい感じに
This commit is contained in:
parent
90a2e32875
commit
acf7cc90c8
@ -110,12 +110,10 @@ gulp.task('webpack', done => {
|
|||||||
const webpack = childProcess.spawn(
|
const webpack = childProcess.spawn(
|
||||||
Path.join('.', 'node_modules', '.bin', 'webpack'),
|
Path.join('.', 'node_modules', '.bin', 'webpack'),
|
||||||
['--config', './webpack/webpack.config.ts'], {
|
['--config', './webpack/webpack.config.ts'], {
|
||||||
shell: true
|
shell: true,
|
||||||
|
stdio: 'inherit'
|
||||||
});
|
});
|
||||||
|
|
||||||
webpack.stdout.pipe(process.stdout);
|
|
||||||
webpack.stderr.pipe(process.stderr);
|
|
||||||
|
|
||||||
webpack.on('exit', done);
|
webpack.on('exit', done);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user