add docker

This commit is contained in:
arifal hidayat
2025-06-06 22:42:41 +07:00
parent 6f77120c33
commit 9437eb949f
16 changed files with 305 additions and 24 deletions

View File

@@ -3,6 +3,28 @@ import laravel from "laravel-vite-plugin";
import path from "path";
export default defineConfig({
server: {
host: '0.0.0.0',
hmr: {
host: 'localhost'
},
watch: {
usePolling: true
}
},
build: {
outDir: 'public/build',
assetsDir: 'assets',
manifest: true,
rollupOptions: {
output: {
manualChunks: undefined,
entryFileNames: 'assets/[name].js',
chunkFileNames: 'assets/[name].js',
assetFileNames: 'assets/[name].[ext]'
}
}
},
resolve: {
alias: {
"@": path.resolve(__dirname, "resources/js"),