From 32f594993595db316865bf1c99d7b1d7c92b1b97 Mon Sep 17 00:00:00 2001 From: woxtu Date: Thu, 7 Sep 2023 16:56:17 +0900 Subject: chore: Goodbye gulp (#11447) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add a script for building assets * Replace with script executions * Remove gulp dependencies * Fix dependencies --------- Co-authored-by: Acid Chicken (硫酸鶏) Co-authored-by: syuilo --- scripts/dev.mjs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'scripts/dev.mjs') diff --git a/scripts/dev.mjs b/scripts/dev.mjs index 5240a5c4a8..655ad5ef13 100644 --- a/scripts/dev.mjs +++ b/scripts/dev.mjs @@ -23,7 +23,13 @@ await execa('pnpm', ['build-pre'], { stderr: process.stderr, }); -execa('pnpm', ['exec', 'gulp', 'watch'], { +await execa('pnpm', ['build-assets'], { + cwd: _dirname + '/../', + stdout: process.stdout, + stderr: process.stderr, +}); + +execa('pnpm', ['build-assets', '--watch'], { cwd: _dirname + '/../', stdout: process.stdout, stderr: process.stderr, -- cgit v1.2.3-freya