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

export default defineConfig({
    plugins: [
        laravel({
            input: [
                //scss
                "resources/scss/theme.scss",                
                "resources/icons/cartzilla-icons.min.css",
                "node_modules/img-comparison-slider/dist/styles.css",
                "node_modules/swiper/swiper-bundle.min.css",
                "node_modules/choices.js/public/assets/styles/choices.min.css",
                "node_modules/glightbox/dist/css/glightbox.min.css",
                "node_modules/simplebar/dist/simplebar.min.css",
                'node_modules/flatpickr/dist/flatpickr.min.css',
                "node_modules/nouislider/dist/nouislider.min.css",

                //js
                "resources/js/theme-switcher.js",
                "resources/js/theme.js",
            ],
            refresh: true,
        }),
    ],
});
