collect-assets
collect-assets copied to clipboard
Manganis Fails to Provide Assets From Deps Unless `mg!` Is Used in App
Problem
Assets from dependencies aren't included in the final app unless the app itself uses the mg! macro.
Steps To Reproduce
- Create a library that uses
mg!to include an asset. - Create a binary that uses the dependency.
- Build with
dx buildand notice that no assets are included indist/__assets_head.htmlor in the actual<head/>of the app.
Expected behavior
Assets from dependencies should be included.
Environment:
- Manganis version:
0.2.2 - Rust version:
1.78 - OS info:
Windows 10 - App platform:
Any