feat: add translations api for fe

This commit is contained in:
Nybkox
2025-02-20 15:10:22 +01:00
parent ea5e2f660b
commit b7044248cb
7 changed files with 82 additions and 2 deletions

View File

@@ -8,6 +8,7 @@ import sveltePreprocess from 'svelte-preprocess';
import typescript from '@rollup/plugin-typescript';
import replace from '@rollup/plugin-replace';
import css from 'rollup-plugin-css-only';
import json from '@rollup/plugin-json';
const production = !process.env.ROLLUP_WATCH;
@@ -121,6 +122,7 @@ export default [
sourceMap: !production,
inlineSources: !production,
}),
json(),
// In dev mode, call `npm run start` once
// the bundle has been generated