From c505c6df36af7cc22343d23e45545263fc7294c4 Mon Sep 17 00:00:00 2001 From: naskya Date: Sun, 5 May 2024 20:59:26 +0900 Subject: [PATCH] fix: remove old locale files --- scripts/copy-assets.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/copy-assets.mjs b/scripts/copy-assets.mjs index 6542780d83..469c424fa9 100644 --- a/scripts/copy-assets.mjs +++ b/scripts/copy-assets.mjs @@ -1,6 +1,7 @@ import fs from "node:fs/promises"; await (async () => { + await fs.rm("built/_client_dist_/locales", { recursive: true, force: true }); await Promise.all([ fs.cp("packages/backend/src/server/web", "packages/backend/built/server/web", { recursive: true }), fs.cp("custom/assets", "packages/backend/assets", { recursive: true }),