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

export default defineConfig({
    plugins: [
        laravel({
            input: [
                'resources/assets/vendor/libs/jquery/jquery.js',
                'resources/assets/vendor/fonts/iconify/iconify.css',
                'resources/assets/vendor/libs/node-waves/node-waves.scss',
                'resources/assets/vendor/libs/perfect-scrollbar/perfect-scrollbar.scss',
                'resources/assets/vendor/scss/core.scss',
                'resources/assets/css/demo.css',
                'resources/assets/vendor/scss/pages/page-auth.scss',
                'resources/assets/vendor/libs/sweetalert2/sweetalert2.scss',
                'resources/assets/vendor/libs/datatables-bs5/datatables.bootstrap5.scss',
                'resources/assets/vendor/libs/datatables-responsive-bs5/responsive.bootstrap5.scss',
                'resources/assets/vendor/libs/datatables-buttons-bs5/buttons.bootstrap5.scss',
                'resources/css/app.css',
                'resources/assets/vendor/js/helpers.js',
                'resources/assets/js/config.js',
                'resources/assets/vendor/js/bootstrap.js',
                'resources/assets/vendor/libs/node-waves/node-waves.js',
                'resources/assets/vendor/libs/perfect-scrollbar/perfect-scrollbar.js',
                'resources/assets/vendor/libs/hammer/hammer.js',
                'resources/assets/vendor/libs/datatables-bs5/datatables-bootstrap5.js',
                'resources/assets/vendor/libs/sweetalert2/sweetalert2.js',
                'resources/assets/vendor/js/menu.js',
                'resources/assets/js/main.js',
                'resources/js/app.js'
            ],
            refresh: true,
        }),
    ],
});
