28 lines
571 B
JavaScript
28 lines
571 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: true,
|
|
}),
|
|
tailwindcss(),
|
|
],
|
|
server: {
|
|
host: '0.0.0.0',
|
|
port: 5173,
|
|
strictPort: true,
|
|
https: false,
|
|
cors: true,
|
|
hmr: {
|
|
host: 'app.dev.clupilot.com',
|
|
clientPort: 443,
|
|
protocol: 'wss',
|
|
path: '/vite-hmr',
|
|
},
|
|
watch: { usePolling: true },
|
|
},
|
|
});
|