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

Fix: "blazor.boot.json.gz" and "blazor.boot.json.br" are removed undesirably #32

Conversation

jsakamoto
Copy link
Contributor

At first, thank you for your great work!

By the way, this package will remove compressed "blazor.boot.json" files after the renaming process (The source code is here and here). Unfortunately, that behavior caused the runtime error when the Blazor Wasm app tried to load the compressed version of the "blazor.boot.json" file at its startup.

So, could you accept this pull request containing the program's changes to make it recompress the updated "blazor.boot.json" file?

P.S. I updated the target framework version of the build task project from "netstandard2.0" to "net6.0" to use the "System.IO.Compression.Brotli" to recompress the "blazor.boot.json" with Brotli algorithm. ("System.IO.Compression.Brotli" class is not contained in the ".NET Standard 2.0" specification.) I think this target framework changins is no matter because this package is already depends on .NET SDK ver.6.0.

…sirably

- Recompress them after updating the "blazor.boot.json"
@fingers10
Copy link

fingers10 commented Nov 5, 2022

Great work @jsakamoto and @stavroskasidis

@stavroskasidis
Copy link
Owner

Thank you for your contribution. Looks great. I will merge and publish asap

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.

3 participants