merge newui branch
This commit is contained in:
@@ -1,31 +1,15 @@
|
||||
import { defineConfig } from 'vite';
|
||||
import { svelte, vitePreprocess } from '@sveltejs/vite-plugin-svelte';
|
||||
import { defineConfig } from "vite";
|
||||
|
||||
// see https://vitejs.dev/config
|
||||
export default defineConfig({
|
||||
server: {
|
||||
port: 3000,
|
||||
},
|
||||
envPrefix: 'PB',
|
||||
base: './',
|
||||
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',
|
||||
}
|
||||
"@": __dirname + "/src",
|
||||
},
|
||||
},
|
||||
})
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user