gps_system/vite.config.js
sackey 6b878bb0a0
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled
Initial commit
2025-09-12 16:19:56 +00:00

21 lines
498 B
JavaScript

import {
defineConfig
} from 'vite';
import laravel from 'laravel-vite-plugin';
import tailwindcss from "@tailwindcss/vite";
export default defineConfig({
plugins: [
laravel({
input: ['resources/css/app.css', 'resources/js/app.js'],
refresh: false, // Disable automatic refresh to prevent infinite loops with Livewire
}),
tailwindcss(),
],
server: {
cors: true,
hmr: {
overlay: true,
},
},
});