v1.0.0-beta.59
[1.0.0-beta.59] - 2026-01-07
⚡ Inline Dynamic Imports for Statically Imported Modules
Unclaimed project
Are you a maintainer of rolldown? Claim this project to take control of your public changelog and roadmap.
Changelog
Fast Rust bundler for JavaScript/TypeScript with Rollup-compatible API.
⚡ Inline Dynamic Imports for Statically Imported Modules
Before:
import { foo } from './foo.js'
console.log(foo)
import('./foo.js').then(mod => console.log(mod.foo))
Previously, import('./foo.js') would create a separate async chunk.
After:
var foo_exports = /* @__PURE__ */ __exportAll({ foo: () => foo });
const foo = "foo";
console.log(foo);
Promise.resolve().then(() => foo_exports).then((mod) => console.log(mod.foo));
The dynamic import is inlined since foo.js is already statically imported.
import(..) (#7726) by @hyf0preserve_entry_signatures from AddEntryModuleMsg (#7762) by @shulaodauser_defined_entries by reference (#7756) by @shulaodaResolvedId correctly (#7746) by @hyf0ModuleLoader (#7731) by @shulaodaresolve_user_defined_entries (#7727) by @shulaodaoutput.dynamicImportInCjs related rollup test results (#7776) by @sapphi-redtest: vite-tests label (#7770) by @shulaodaCo-authored-by: shulaoda 165626830+shulaoda@users.noreply.github.com
A modern GUI client based on Tauri, designed to run in Windows, macOS and Linux for tailored proxy experience
A cross-platform desktop All-in-One assistant tool for Claude Code, Codex, OpenCode & Gemini CLI.
Lightweight coding agent that runs in your terminal
An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.