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

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