import inertia from '@inertiajs/vite'; import { wayfinder } from '@laravel/vite-plugin-wayfinder'; import tailwindcss from '@tailwindcss/vite'; import vue from '@vitejs/plugin-vue'; import laravel from 'laravel-vite-plugin'; import i18n from 'laravel-vue-i18n/vite'; import { defineConfig } from 'vite'; export default defineConfig({ plugins: [ laravel({ input: ['resources/js/app.ts'], refresh: true, }), tailwindcss(), // Builds the SSR bundle from app.ts, so there is one entrypoint rather // than an ssr.ts that drifts from it. inertia({ ssr: true }), wayfinder({ formVariants: true, }), vue({ template: { transformAssetUrls: { base: null, includeAbsolute: false, }, }, }), i18n(), ], });