update frontend and switch sanitize library

This commit is contained in:
2022-07-13 22:57:41 +02:00
parent ff36d375ea
commit 2bb256b07e
9 changed files with 345 additions and 368 deletions

12
frontend/vite.config.js Normal file
View File

@@ -0,0 +1,12 @@
import { sveltekit } from '@sveltejs/kit/vite'
import precompileIntl from 'svelte-intl-precompile/sveltekit-plugin'
/** @type {import('vite').UserConfig} */
const config = {
server: {
port: 3000,
},
plugins: [sveltekit(), precompileIntl('locales')],
}
export default config