Skip to content

Comments

release: v1.0.0-beta.59#7786

Merged
shulaoda merged 1 commit intomainfrom
release-v1.0.0-beta.59-1767774736
Jan 7, 2026
Merged

release: v1.0.0-beta.59#7786
shulaoda merged 1 commit intomainfrom
release-v1.0.0-beta.59-1767774736

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Jan 7, 2026

[1.0.0-beta.59] - 2026-01-07

⚡ Inline Dynamic Imports for Statically Imported Modules

  • When a module is already statically imported, dynamic imports to that same module are now inlined instead of creating a separate chunk
  • REPL: before and after

Before:

// entry.js
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.

🚀 Features

🐛 Bug Fixes

🚜 Refactor

📚 Documentation

🧪 Testing

⚙️ Miscellaneous Tasks

@netlify
Copy link

netlify bot commented Jan 7, 2026

Deploy Preview for rolldown-rs ready!

Name Link
🔨 Latest commit e67368c
🔍 Latest deploy log https://app.netlify.com/projects/rolldown-rs/deploys/695e1a1878d8bf000861a5ec
😎 Deploy Preview https://deploy-preview-7786--rolldown-rs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@shulaoda shulaoda merged commit 25ffe2a into main Jan 7, 2026
8 checks passed
@shulaoda shulaoda deleted the release-v1.0.0-beta.59-1767774736 branch January 7, 2026 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants