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

export default defineConfig({
    plugins: [
        laravel({
            input: [
                'resources/css/app.css',
                'resources/js/app.js',
                'resources/js/madar-app.js',
                'resources/js/madar-chat.js',
                'resources/js/madar-images.js',
                'resources/js/madar-files.js',
                'resources/js/madar-tools.js',
                'resources/js/madar-rewards.js',
                'resources/js/madar-text-analysis.js',
            ],
            refresh: true,
        }),
        tailwindcss(),
    ],
    server: {
        watch: {
            ignored: ['**/storage/framework/views/**'],
        },
    },
});
