This commit is contained in:
Synox 2016-07-07 22:32:51 +02:00
parent 929424a3ce
commit 536e2ec8fe
3 changed files with 61 additions and 49 deletions

46
dist/index.html vendored

File diff suppressed because one or more lines are too long

53
dist/mailbox_1f7e8cc287576be2057b.js vendored Normal file

File diff suppressed because one or more lines are too long

View file

@ -8,8 +8,11 @@ import webpackConfig from './webpack.config';
import del from 'del'; import del from 'del';
gulp.task('clean:distjs', function () { gulp.task('clean', function () {
return del(['dist/*.js']); return del([
'dist/*.js',
'target/build']
);
}); });
/** /**
@ -54,13 +57,13 @@ gulp.task('webpack-prod', [], (done) => {
}); });
gulp.task('build', ['test-phantomjs', 'clean:distjs', 'webpack-prod'], (done) => { gulp.task('build', ['test-phantomjs', 'clean', 'webpack-prod'], (done) => {
return gulp return gulp
.src(path.join('target', 'build', '*')) .src(path.join('target', 'build', '*'))
.pipe(gulp.dest('dist')); .pipe(gulp.dest('dist'));
}); });
gulp.task('build-skipTests', ['clean:distjs', 'webpack-prod'], (done) => { gulp.task('build-skipTests', ['clean', 'webpack-prod'], (done) => {
return gulp return gulp
.src(path.join('target', 'build', '*')) .src(path.join('target', 'build', '*'))
.pipe(gulp.dest('dist')); .pipe(gulp.dest('dist'));