Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only compress web assets in the CLI #2329

Merged
merged 5 commits into from
Apr 26, 2024

Conversation

ealmloff
Copy link
Member

This moves the pre-compression code into the CLI and only pre-compresses web assets. This solution is non-breaking but in the future, we should consider moving the assets we serve with the fullstack server binary into a different directory than the binary itself

Closes #2327

@ealmloff ealmloff added bug Something isn't working cli Related to the dioxus-cli program fullstack related to the fullstack crate labels Apr 17, 2024
@jkelleyrtp jkelleyrtp merged commit a27d4e7 into DioxusLabs:main Apr 26, 2024
6 of 9 checks passed
@ealmloff ealmloff deleted the only-compress-web-assets branch April 26, 2024 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cli Related to the dioxus-cli program fullstack related to the fullstack crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Gzip of all assets exposes server binary in release build
2 participants