diff options
| author | Hazelnoot <acomputerdog@gmail.com> | 2024-10-15 12:28:22 -0400 |
|---|---|---|
| committer | Hazelnoot <acomputerdog@gmail.com> | 2024-10-15 12:28:22 -0400 |
| commit | 8897b191d9714ec287c4444e2b166af131be8d55 (patch) | |
| tree | 148a58f7b9e4bb61cfc1291f185d34a94e9a4d3e /scripts | |
| parent | refresh locales after any change, not just a version update (diff) | |
| download | sharkey-8897b191d9714ec287c4444e2b166af131be8d55.tar.gz sharkey-8897b191d9714ec287c4444e2b166af131be8d55.tar.bz2 sharkey-8897b191d9714ec287c4444e2b166af131be8d55.zip | |
fix indentation in build-assets.mjs
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/build-assets.mjs | 2 |
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); } |