Use esbuild's built-in JSX transform instead of @vitejs/plugin-react-swc to fix the React Fast Refresh preamble error caused by eager glob imports. Add missing pentatrion_vite routes to fix web debug toolbar 500 errors. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
10 lines
279 B
YAML
10 lines
279 B
YAML
when@dev:
|
|
_pentatrion_vite:
|
|
prefix: /build
|
|
resource: "@PentatrionViteBundle/Resources/config/routing.yaml"
|
|
|
|
_profiler_vite:
|
|
path: /_profiler/vite
|
|
defaults:
|
|
_controller: Pentatrion\ViteBundle\Controller\ProfilerController::info
|