import { defineConfig } from 'vite';
import laravel from 'laravel-vite-plugin';
import vue from '@vitejs/plugin-vue';

/*
 * Only the Vue bundle is built here. The design system stays in
 * public/css/app.css because the print sheet and the PDF report are
 * server-rendered pages that must style themselves without Vite.
 */
export default defineConfig({
    plugins: [
        laravel({
            input: ['resources/js/app.js'],
            refresh: ['resources/js/**', 'resources/views/**'],
        }),
        vue(),
    ],
});
