-
Notifications
You must be signed in to change notification settings - Fork 699
Labels
Description
Reproduction link or steps
failing GitHub Actions PR in CI
ghiscoding/slickgrid-universal-vite-demo#5
# install and build with rolldown-vite
npm install
npm run buildI'm getting this error in the CI
$ tsc && vite build --mode production
rolldown-vite v7.1.10 building for production...
transforming...✓ 731 modules transformed.
thread '<unnamed>' panicked at crates/rolldown/src/module_finalizers/impl_visit_mut.rs:523:11:
internal error: entered unreachable code: Always rewrite to MemberExpression for nested MemberExpression
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
✗ Build failed in 10.55s
error during build:
internal error: entered unreachable code: Always rewrite to MemberExpression for nested MemberExpression
Error: internal error: entered unreachable code: Always rewrite to MemberExpression for nested MemberExpression
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Error: Process completed with exit code 1.I don't use any Rollup or esbuild plugins, my config is pretty basic
import dns from 'dns';
import { defineConfig } from 'vite';
dns.setDefaultResultOrder('verbatim');
export default defineConfig(({ mode }) => {
return {
base: './',
build: {
chunkSizeWarningLimit: 6000,
emptyOutDir: true,
},
preview: {
port: 3000
},
server: {
port: 3000,
cors: true,
host: 'localhost',
},
};
});What is expected?
no errors, it works fine with latest regular Vite (7.1.5)
What is actually happening?
It fails on the build with rolldown-vite
System Info
It's the GitHub Actions CI using "Ubuntu-latest" but it also fails on my local Windows 10 machine
Ubuntu 24.04.3 LTS
Node 22.19.0
NPM 10.9.3Any additional comments?
No response
Reactions are currently unavailable