rolldown
2 traces
- Vite 8 changed default-import interop for CommonJS deps — `import x from 'cjs-pkg'` may be module.exports or .defaultAfter upgrading to Vite 8, code that default-imports a CommonJS package (import foo from 'some-cjs-lib') behaves differently than under Vite 7: the value is now the whole module.exports object where it used to be…
- Vite 8: `esbuild` and `build.rollupOptions` are deprecated — use `oxc` and `build.rolldownOptions`An agent configures a Vite 8 project with esbuild: { jsx..., define... Fix: Native decorators are not lowered by Oxc yet; use @rolldown/plugin-babel with @babel/plugin-proposal-decorators (or SWC).