Skip to content

Conversation

tekacs
Copy link
Contributor

@tekacs tekacs commented Oct 13, 2025

See issue #4778 for more details and motivation!

  • add optional mount_path to manganis AssetOptions + builders
  • have CLI honor mount paths when copying assets and generating URLs
  • update HTML preload injection, docs, and hotreload notifications
  • honor AssetOptions mount_path across every bundle type
  • serve native assets from mount directories via resolver fallback
  • ensure Android hotreload pushes files into mount-aware locations

Tests: cargo test -p manganis-core; cargo check -p dioxus-cli

- add optional mount_path to manganis AssetOptions + builders
- have CLI honor mount paths when copying assets and generating URLs
- update HTML preload injection, docs, and hotreload notifications
- honor AssetOptions mount_path across every bundle type
- serve native assets from mount directories via resolver fallback
- ensure Android hotreload pushes files into mount-aware locations

Tests: cargo test -p manganis-core; cargo check -p dioxus-cli
@tekacs
Copy link
Contributor Author

tekacs commented Oct 13, 2025

I spent some time trying to get the asset pipeline to correctly delete files that had been removed (with a manifest), but it proved fiddly with too many edge cases, so I've separated out that work for now.

Compared to the simpler asset dir implementation, this is fiddlier (in particular hot patching deserves a close look), but feels clean and correct in use.

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.

1 participant