1
0
Fork 0

Adding upstream version 0.28.1.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-05-22 10:57:38 +02:00
parent 88f1d47ab6
commit e28c88ef14
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
933 changed files with 194711 additions and 0 deletions

31
ui/vite.config.js Normal file
View file

@ -0,0 +1,31 @@
import { defineConfig } from 'vite';
import { svelte, vitePreprocess } from '@sveltejs/vite-plugin-svelte';
// see https://vitejs.dev/config
export default defineConfig({
server: {
port: 3000,
},
envPrefix: 'PB',
base: './',
build: {
chunkSizeWarningLimit: 1000,
reportCompressedSize: false,
},
plugins: [
svelte({
preprocess: [vitePreprocess()],
onwarn: (warning, handler) => {
if (warning.code.startsWith('a11y-')) {
return; // silence a11y warnings
}
handler(warning);
},
}),
],
resolve: {
alias: {
'@': __dirname + '/src',
}
},
})