summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/build-assets.mjs2
1 files changed, 1 insertions, 1 deletions
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);
}