mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2024-12-23 10:38:55 +00:00
17 lines
485 B
JavaScript
17 lines
485 B
JavaScript
import gulp from 'gulp';
|
|
import PATHS from './../helpers/src-paths';
|
|
import helpers from './../helpers/gulp-helpers';
|
|
|
|
const {buildES6} = helpers;
|
|
|
|
gulp.task('build-static-not-js', () => {
|
|
return gulp.src([PATHS.APP_STATIC_ALL, '!**/*.js'])
|
|
.pipe(gulp.dest(PATHS.APP_STATIC_DEST));
|
|
});
|
|
|
|
gulp.task('build-static-js', done => {
|
|
return buildES6(PATHS.APP_STATIC_JS, PATHS.APP_STATIC_DEST, done);
|
|
});
|
|
|
|
gulp.task('build-static', ['build-static-js', 'build-static-not-js']);
|