Skip to content

Commit

Permalink
ビルド開始時に古いファイルを消す
Browse files Browse the repository at this point in the history
  • Loading branch information
samunohito committed Mar 21, 2024
1 parent f41f3e9 commit 5f5399a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/misskey-bubble-game/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ const options = {
sourcemap: 'linked',
};

// built配下をすべて削除する
fs.rmSync('./built', { recursive: true, force: true });

if (process.argv.map(arg => arg.toLowerCase()).includes("--watch")) {
await watchSrc();
} else {
Expand Down
3 changes: 3 additions & 0 deletions packages/misskey-js/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ const options = {
sourcemap: 'linked',
};

// built配下をすべて削除する
fs.rmSync('./built', { recursive: true, force: true });

if (process.argv.map(arg => arg.toLowerCase()).includes("--watch")) {
await watchSrc();
} else {
Expand Down
3 changes: 3 additions & 0 deletions packages/misskey-reversi/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ const options = {
sourcemap: 'linked',
};

// built配下をすべて削除する
fs.rmSync('./built', { recursive: true, force: true });

if (process.argv.map(arg => arg.toLowerCase()).includes("--watch")) {
await watchSrc();
} else {
Expand Down

0 comments on commit 5f5399a

Please sign in to comment.