natemcmaster / dotnet-serve

Simple command-line HTTPS server for the .NET Core CLI

Home Page:https://nuget.org/packages/dotnet-serve/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compression is not working for dll files

albertwoo opened this issue · comments

Describe the bug
I tried to use this to serve blazor web assembly files, but the compression is only for for css, html etc. But not for dll file.

To Reproduce
Steps to reproduce the behavior:

  1. Create a empty blazor wasm project
  2. Publish in release mode
  3. Run dotnet-serve -b under the publish\wwwroot folder

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
image