You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
no longer works with Vite 6.0.7 as the Vite esbuild plugin now relies on Vite internals, so the build fails with
error during build:
TypeError: Cannot read properties of undefined (reading 'config')
at Object.renderChunk (file:///.../flow-tests/test-express-build/test-dev-bundle/node_modules/vite/dist/node/chunks/dep-BJP6rrE_.js:12289:39)
at file:///.../flow-tests/test-express-build/test-dev-bundle/node_modules/rollup/dist/es/shared/node-entry.js:20812:40
The code was original implemented in #12928 by @vursen who recalls that the Vite build API was not adequate back then for the task, but it has been 3 years
Description of the bug
This code
flow/flow-server/src/main/resources/vite.generated.ts
Lines 156 to 171 in e365417
no longer works with Vite 6.0.7 as the Vite esbuild plugin now relies on Vite internals, so the build fails with
See #20799 and vitejs/vite#19144
The code was original implemented in #12928 by @vursen who recalls that the Vite build API was not adequate back then for the task, but it has been 3 years
Expected behavior
It works
Minimal reproducible example
#20799
Versions
The text was updated successfully, but these errors were encountered: