chore(setup): use new inertia vite plugin

This commit is contained in:
peaklabs-dev 2026-03-10 14:42:55 +01:00
parent d743dae3d6
commit 9920975107
No known key found for this signature in database

View file

@ -1,5 +1,6 @@
import { defineConfig } from 'vite';
import laravel from 'laravel-vite-plugin';
import inertia from '@inertiajs/vite'
import { svelte } from '@sveltejs/vite-plugin-svelte';
import tailwindcss from '@tailwindcss/vite';
@ -9,6 +10,7 @@ export default defineConfig({
input: ['resources/js/app.ts'],
refresh: true,
}),
inertia(),
svelte({
configFile: 'svelte.config.ts',
// TODO: Remove once Inertia v3 https://github.com/inertiajs/inertia/tree/3.x is released and runes=true is set in svelte.config.ts