dotnet pack creates extra folder for files with no extension when packing staticwebassets.
dotnet pack
Example:
if there is a file in wwwroot