import { defineConfig } from 'vite';

export default defineConfig({
  publicDir: false,
  server: {
    host: '127.0.0.1',
    origin: 'http://127.0.0.1:5173',
    port: 5173,
    strictPort: true,
  },
  build: {
    chunkSizeWarningLimit: 700,
    manifest: true,
    outDir: 'public/build',
    emptyOutDir: true,
    rollupOptions: {
      input: {
        app: 'resources/js/app.js',
      },
    },
  },
});
