コンソールへのwebpack出力をいい感じに

This commit is contained in:
syuilo 2017-05-25 06:38:53 +09:00
parent 90a2e32875
commit acf7cc90c8

View file

@ -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);
}); });