diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-03-02 19:20:52 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-03-02 19:20:52 +0900 |
| commit | 165c93b248a18c36b950d6d318f1d8c2a3965a57 (patch) | |
| tree | 81e9105e09786bb468f82c008cb1b252fc1a5bac /gulpfile.ts | |
| parent | v3930 (diff) | |
| download | sharkey-165c93b248a18c36b950d6d318f1d8c2a3965a57.tar.gz sharkey-165c93b248a18c36b950d6d318f1d8c2a3965a57.tar.bz2 sharkey-165c93b248a18c36b950d6d318f1d8c2a3965a57.zip | |
:v:
Diffstat (limited to 'gulpfile.ts')
| -rw-r--r-- | gulpfile.ts | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/gulpfile.ts b/gulpfile.ts index 736507bafb..aa67129149 100644 --- a/gulpfile.ts +++ b/gulpfile.ts @@ -111,23 +111,11 @@ gulp.task('default', ['build']); gulp.task('build:client', [ 'build:ts', 'build:js', - 'webpack', 'build:client:script', 'build:client:pug', 'copy:client' ]); -gulp.task('webpack', done => { - const webpack = childProcess.spawn( - Path.join('.', 'node_modules', '.bin', 'webpack'), - ['--config', './webpack/webpack.config.ts'], { - shell: true, - stdio: 'inherit' - }); - - webpack.on('exit', done); -}); - gulp.task('build:client:script', () => gulp.src(['./src/web/app/boot.js', './src/web/app/safe.js']) .pipe(replace('VERSION', JSON.stringify(version))) @@ -147,8 +135,7 @@ gulp.task('build:client:styles', () => ); gulp.task('copy:client', [ - 'build:client:script', - 'webpack' + 'build:client:script' ], () => gulp.src([ './assets/**/*', |