first commit

This commit is contained in:
Lars Behrends
2025-10-17 13:29:28 +02:00
commit 929ee43001
85 changed files with 10361 additions and 0 deletions

31
vite.config.js Normal file
View File

@@ -0,0 +1,31 @@
import { defineConfig } from 'vite';
import path from 'path';
// https://vitejs.dev/config/
export default defineConfig({
root: 'public',
base: '/build/',
publicDir: 'public',
build: {
outDir: '../public/build',
emptyOutDir: true,
manifest: true,
rollupOptions: {
input: 'resources/js/app.js',
},
},
resolve: {
alias: {
'@': path.resolve(__dirname, './resources/js'),
'~': path.resolve(__dirname, './node_modules'),
},
},
server: {
host: '0.0.0.0',
port: 3000,
strictPort: true,
hmr: {
host: 'localhost',
},
},
});