mirror of
https://github.com/coollabsio/coolify.git
synced 2026-03-11 08:55:47 +00:00
chore(setup): configure svelte
This commit is contained in:
parent
dbb9634386
commit
26a4244095
1 changed files with 23 additions and 0 deletions
23
svelte.config.ts
Normal file
23
svelte.config.ts
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
import { vitePreprocess, type SvelteConfig } from '@sveltejs/vite-plugin-svelte';
|
||||
|
||||
const config: SvelteConfig = {
|
||||
preprocess: vitePreprocess(),
|
||||
compilerOptions: {
|
||||
// TODO: Enforce runes mode on all files once Inertia v3 https://github.com/inertiajs/inertia/tree/3.x is released
|
||||
// runes: true,
|
||||
discloseVersion: false,
|
||||
modernAst: true,
|
||||
dev: true,
|
||||
experimental: {
|
||||
async: true,
|
||||
}
|
||||
},
|
||||
vitePlugin: {
|
||||
inspector: {
|
||||
showToggleButton: 'always',
|
||||
toggleButtonPos: 'top-right'
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
export default config;
|
||||
Loading…
Reference in a new issue