diff options
| author | woxtu <woxtup@gmail.com> | 2023-09-07 16:56:17 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-07 16:56:17 +0900 |
| commit | 32f594993595db316865bf1c99d7b1d7c92b1b97 (patch) | |
| tree | e324563da9c61adf328b5724e155d9f893e42e86 /scripts/dev.mjs | |
| parent | chore(frontend): renote of note in sensitive channel is now home renote by de... (diff) | |
| download | sharkey-32f594993595db316865bf1c99d7b1d7c92b1b97.tar.gz sharkey-32f594993595db316865bf1c99d7b1d7c92b1b97.tar.bz2 sharkey-32f594993595db316865bf1c99d7b1d7c92b1b97.zip | |
chore: Goodbye gulp (#11447)
* Add a script for building assets
* Replace with script executions
* Remove gulp dependencies
* Fix dependencies
---------
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Diffstat (limited to 'scripts/dev.mjs')
| -rw-r--r-- | scripts/dev.mjs | 8 |
1 files changed, 7 insertions, 1 deletions
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, |