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

export default defineConfig({
    plugins: [
        laravel([
            'resources/css/app.css',
            'resources/css/fonts.css',
            'resources/sass/custom_timebank.css',
            'resources/js/app.js',
            'resources/js/quill.js',
        ]),
    ],
    build: {
        outDir: 'public/build',
        manifest: true,
        chunkSizeWarningLimit: 600,
    },
    server: {
        proxy: {
            '/fonts': {
                target: 'http://localhost:8000',
                changeOrigin: true,
            },
        },
    },
});