mirror of
https://github.com/cupcakearmy/cryptgeon.git
synced 2025-09-05 17:00:39 +00:00
translate the app
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import preprocess from 'svelte-preprocess'
|
||||
import adapter from '@sveltejs/adapter-static'
|
||||
import precompileIntl from 'svelte-intl-precompile/sveltekit-plugin'
|
||||
|
||||
export default {
|
||||
preprocess: preprocess(),
|
||||
@@ -9,5 +10,10 @@ export default {
|
||||
fallback: 'index.html',
|
||||
}),
|
||||
target: '#svelte',
|
||||
vite: {
|
||||
plugins: [
|
||||
precompileIntl('locales'), // if your translations are defined in /locales/[lang].json
|
||||
],
|
||||
},
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user