From 8897b191d9714ec287c4444e2b166af131be8d55 Mon Sep 17 00:00:00 2001 From: Hazelnoot Date: Tue, 15 Oct 2024 12:28:22 -0400 Subject: [PATCH] fix indentation in build-assets.mjs --- scripts/build-assets.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build-assets.mjs b/scripts/build-assets.mjs index b451dab28d..4e587aa41d 100644 --- a/scripts/build-assets.mjs +++ b/scripts/build-assets.mjs @@ -78,7 +78,7 @@ async function buildBackendScript() { ]) { let source = await fs.readFile(file, { encoding: 'utf-8' }); source = source.replaceAll(/\bLANGS\b/g, JSON.stringify(Object.keys(locales))); - source = source.replaceAll(/\bLANGS_VERSION\b/g, JSON.stringify(localesVersion)); + source = source.replaceAll(/\bLANGS_VERSION\b/g, JSON.stringify(localesVersion)); const { code } = await terser.minify(source, { toplevel: true }); await fs.writeFile(`./packages/backend/built/server/web/${path.basename(file)}`, code); }