v0.7.7

charmbracelet/crushv0.7.7May 1, 2026by jkelleyrtp

AI Summary

This release fixes a regression in JavaScript bundling where the CLI incorrectly forced all JS snippets to be bundled as ESM, regardless of their actual module type (CJS, UMD, or generic).

Key Highlights

  • Fix regression where JS snippets were always bundled as ESM
  • Autodetect JS module type
  • Run esbuild with appropriate flags based on detected type

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