v0.7.7
DioxusLabs/dioxusv0.7.7May 1, 2026by jkelleyrtp
AI Summary
Resolves a regression in JavaScript bundling where Dioxus incorrectly forced ESM format on all JavaScript snippets, now properly detecting and handling CJS, UMD, and ESM module types.
Key Highlights
- Auto-detection of JavaScript module types (CJS, UMD, ESM)
- Fixed esbuild bundling flags for different JS module types
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