v0.7.7

kyutai-labs/unmutev0.7.7May 1, 2026by jkelleyrtp

AI Summary

This release addresses a regression in JavaScript bundling where snippets were incorrectly always bundled as ESM. It now automatically detects the module type (ESM, CJS, UMD) and runs esbuild with the appropriate flags to ensure correct bundling behavior.

Key Highlights

  • Fixes regression where JS snippets were always bundled as ESM
  • Auto-detects JS module type (ESM, CJS, UMD)
  • Ensures esbuild uses correct flags based on snippet type

New Features

  • Auto-detect JS module type for proper bundling configuration

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