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

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