[build] Fix static assets not being mapped correctly
This commit is contained in:
parent
764e1a01ec
commit
3dd85deb0d
2 changed files with 5 additions and 4 deletions
|
@ -35,7 +35,7 @@
|
|||
|
||||
<!-- This rewrites the static asset endpoints JSON file to enable transparent decompression. -->
|
||||
<Target Name="_RewriteStaticAssetManifest" AfterTargets="KeepOnlyBrotliCompressedStaticAssets">
|
||||
<RewriteStaticAssetManifest Manifest="$(StaticWebAssetEndpointsBuildManifestPath)" />
|
||||
<RewriteStaticAssetManifest Manifest="$(PublishDir)\Iceshrimp.Backend.staticwebassets.endpoints.json" />
|
||||
</Target>
|
||||
|
||||
</Project>
|
|
@ -123,10 +123,11 @@ public class RewriteStaticAssetManifest : Microsoft.Build.Utilities.Task
|
|||
}
|
||||
}
|
||||
|
||||
private sealed class StaticAssetSelector(string name, string value)
|
||||
private sealed class StaticAssetSelector(string name, string value, string quality)
|
||||
{
|
||||
public string Name { get; } = name;
|
||||
public string Value { get; } = value;
|
||||
public string Name { get; } = name;
|
||||
public string Value { get; } = value;
|
||||
public string Quality { get; } = quality;
|
||||
}
|
||||
|
||||
private sealed class StaticAssetProperty(string name, string value)
|
||||
|
|
Loading…
Add table
Reference in a new issue