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
3a8e2180e4
commit
40a599a06e
1 changed files with 20 additions and 0 deletions
20
svelte.config.ts
Normal file
20
svelte.config.ts
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
|
||||||
|
import { type SvelteConfig } from "@sveltejs/vite-plugin-svelte";
|
||||||
|
|
||||||
|
const config: SvelteConfig = {
|
||||||
|
preprocess: vitePreprocess({ script: true }),
|
||||||
|
compilerOptions: {
|
||||||
|
// TODO: Enforce runes mode on all files once https://github.com/inertiajs/inertia v3.x is released
|
||||||
|
// runes: true,
|
||||||
|
discloseVersion: false,
|
||||||
|
modernAst: true,
|
||||||
|
},
|
||||||
|
vitePlugin: {
|
||||||
|
inspector: {
|
||||||
|
showToggleButton: 'always',
|
||||||
|
toggleButtonPos: 'bottom-right'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
export default config;
|
||||||
Loading…
Reference in a new issue