import { defineConfig } from 'vite';
import laravel from 'laravel-vite-plugin';

export default defineConfig({
    plugins: [
        laravel({
            hotFile: 'public/vendor/viartas-js/datatables/datatables.hot', // Most important lines
            buildDirectory: 'vendor/viartas-js/datatables', // Most important lines
            input: [
                'resources/js/datatables.js',
                'resources/css/datatables.css',
            ],
            refresh: true,
        }),
    ]
});
