Merge pull request #2583 from nicholascioli/develop

upgrade gulp to v4
This commit is contained in:
Rachel Fenichel
2019-06-21 16:07:14 -07:00
committed by GitHub
2 changed files with 4 additions and 4 deletions

View File

@@ -69,7 +69,7 @@ if (typeof DOMParser !== 'function') {
}
if (typeof module === 'object') { module.exports = Blockly; }
if (typeof window === 'object') { window.Blockly = Blockly; }\n`))
.pipe(gulp.dest(''));
.pipe(gulp.dest('.'));
});
/**
@@ -97,7 +97,7 @@ function buildWatchTaskFn(concatTask) {
var options = {
debounceDelay: 2000 // Milliseconds to delay rebuild.
};
gulp.watch(srcs, options, tasks);
gulp.watch(srcs, options, gulp.parallel(tasks));
};
}
@@ -107,4 +107,4 @@ gulp.task('watch', buildWatchTaskFn('blockly_javascript_en'));
// The default task concatenates files for Node.js, using English language
// blocks and the JavaScript generator.
gulp.task('default', ['build', 'blockly_javascript_en']);
gulp.task('default', gulp.series(['build', 'blockly_javascript_en']));

View File

@@ -28,7 +28,7 @@
"eslint": "^5.13.0",
"google-closure-compiler": "^20190121.0.0",
"google-closure-library": "^20190121.0.0",
"gulp": "^3.9.1",
"gulp": "^4.0.0",
"gulp-concat": "^2.6.1",
"gulp-insert": "^0.5.0",
"gulp-series": "^1.0.2",