chore: configure vite, react, and stimulus bootstrap

This commit is contained in:
thibaud-leclere
2026-03-28 13:11:41 +01:00
parent bd3996f4a9
commit f7a9be6a38
7 changed files with 58 additions and 5 deletions

23
vite.config.js Normal file
View File

@@ -0,0 +1,23 @@
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import symfonyPlugin from 'vite-plugin-symfony';
export default defineConfig({
plugins: [
react(),
symfonyPlugin(),
],
build: {
rollupOptions: {
input: {
app: './assets/app.js',
},
},
},
server: {
host: '0.0.0.0',
port: 5173,
strictPort: true,
origin: 'http://localhost:5173',
},
});