-
Notifications
You must be signed in to change notification settings - Fork 1.1k
[Static Web Assets] Introduce static web asset endpoints and define compression endpoints #39636
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
Conversation
d3c0ec7
to
22e196c
Compare
Is there way how to test this with runtime WBT and Blazor E2E before we merge this ? |
src/StaticWebAssetsSdk/Targets/Microsoft.NET.Sdk.StaticWebAssets.targets
Outdated
Show resolved
Hide resolved
string assetKey = asset.ItemSpec; | ||
assetDictionary[assetKey] = asset; | ||
string relatedAsset = asset.GetMetadata("RelatedAsset"); | ||
if (!string.IsNullOrEmpty(relatedAsset) && !assetDictionary.ContainsKey(relatedAsset)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this happen in second pass over SWA in case where RelatedAsset
points to a different asset? Is that possible? If not, do we need the dictionary?
869c68e
to
2a7ed85
Compare
dc5c78f
to
9fcaf87
Compare
test/Microsoft.NET.Sdk.Razor.Tests/StaticWebAssetsBaselineComparer.cs
Outdated
Show resolved
Hide resolved
8792704
to
b0b30c9
Compare
b0b30c9
to
04f22f6
Compare
fe7a3a2
to
97b346e
Compare
@javiercn @maraf this PR introduces I now have same problem with I wonder if we have good excuse for not testing changes in those files and if I could use the same excuse. Or is this a GOTCHA ? I filled dotnet/runtime#115646 to unblock myself |
No description provided.