mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-22 05:55:12 +00:00
いい感じに
This commit is contained in:
parent
dead83d75e
commit
ceebb84272
1 changed files with 8 additions and 4 deletions
12
gulpfile.ts
12
gulpfile.ts
|
@ -107,12 +107,16 @@ gulp.task('build:client', [
|
|||
]);
|
||||
|
||||
gulp.task('webpack', done => {
|
||||
const output = childProcess.execSync(
|
||||
Path.join('.', 'node_modules', '.bin', 'webpack') + ' --config ./webpack/webpack.config.ts');
|
||||
const webpack = childProcess.spawn(
|
||||
Path.join('.', 'node_modules', '.bin', 'webpack'),
|
||||
['--config', './webpack/webpack.config.ts'], {
|
||||
shell: true
|
||||
});
|
||||
|
||||
console.log(output.toString());
|
||||
webpack.stdout.pipe(process.stdout);
|
||||
webpack.stderr.pipe(process.stderr);
|
||||
|
||||
done();
|
||||
webpack.on('exit', done);
|
||||
});
|
||||
|
||||
gulp.task('build:client:script', () =>
|
||||
|
|
Loading…
Reference in a new issue