From 794a21aca6d1e763f237d00899b8b09b614a7f6b Mon Sep 17 00:00:00 2001 From: bre1470 <40056287+bre1470@users.noreply.github.com> Date: Thu, 28 Nov 2024 11:42:31 +0100 Subject: [PATCH] Tools: Fixed ES5 in scripts task. --- tools/gulptasks/scripts.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tools/gulptasks/scripts.js b/tools/gulptasks/scripts.js index 6431aa646eb..9b4df2f505b 100644 --- a/tools/gulptasks/scripts.js +++ b/tools/gulptasks/scripts.js @@ -161,14 +161,16 @@ function task() { shouldRun() || processLib.isRunning('scripts_incomplete') ) { - fsLib.deleteDirectory('code', true); - processLib.isRunning('scripts_incomplete', true, true); + fsLib.deleteDirectory('code', true); + gulp.series( - 'scripts-ts', 'scripts-css', - argv.assembler ? 'scripts-js' : 'scripts-webpack' + 'scripts-ts', + 'scripts-es5', + argv.assembler ? 'scripts-js' : 'scripts-webpack', + 'scripts-code' )( function (error) {