v0.7.7
ekzhang/borev0.7.7May 1, 2026by jkelleyrtp
AI Summary
A Dioxus release that fixes a regression in JavaScript bundling where the CLI incorrectly assumed all snippets were ESM, now properly detecting CJS, UMD, and generic JS types.
Key Highlights
- Autodetects JS module type (ESM, CJS, UMD) to apply correct esbuild flags
- Fixes bundling logic for JS snippets
Full Release Notes
This release fixes a regression with JS bundling where DX would always bundle JS snippets as ESM, even though they might be CJS, UMD, or a generic JS snippet. We now properly detect the js module type and then run esbuild with the appropriate flags. ## What's Changed * autodetect js module type - only bundle esm by @jkelleyrtp in https://github.com/DioxusLabs/dioxus/pull/5515 **Full Changelog**: https://github.com/DioxusLabs/dioxus/compare/v0.7.6...v0.7.7