Adding upstream version 0.28.1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
88f1d47ab6
commit
e28c88ef14
933 changed files with 194711 additions and 0 deletions
31
ui/vite.config.js
Normal file
31
ui/vite.config.js
Normal 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',
|
||||
}
|
||||
},
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue