- Replace @vitejs/plugin-react with @vitejs/plugin-react-swc to fix React Refresh preamble detection error in cross-origin Docker setup - Register React components manually via window.resolveReactComponent since ux-react's registerReactControllerComponents uses Webpack's require.context API which is incompatible with Vite Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
23 lines
552 B
JSON
23 lines
552 B
JSON
{
|
|
"name": "ltbxd-actorle",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build"
|
|
},
|
|
"dependencies": {
|
|
"@floating-ui/react": "^0.27",
|
|
"@hotwired/stimulus": "^3.2",
|
|
"@hotwired/turbo": "^7.3",
|
|
"@symfony/stimulus-bundle": "file:vendor/symfony/stimulus-bundle/assets",
|
|
"@symfony/ux-react": "file:vendor/symfony/ux-react/assets",
|
|
"react": "^19.0",
|
|
"react-dom": "^19.0"
|
|
},
|
|
"devDependencies": {
|
|
"@vitejs/plugin-react-swc": "^4.3.0",
|
|
"vite": "^6.0",
|
|
"vite-plugin-symfony": "^8.0"
|
|
}
|
|
}
|