我按照https://learn.microsoft.com/en-us/aspnet/core/blazor/components/css-isolation?view=aspnetcore-8.0#additional-resources中的教程进行操作
现在 CSS 隔离效果很好。
我有一个问题,CSS 隔离样式(就像这个打击)没有缩小。
<link href="{ASSEMBLY NAME}.styles.css" rel="stylesheet">
我考虑过使用像 BuildBundlerMinifier 这样的工具来最小化它。但是,它似乎不是静态文件,而是动态生成的,因此我无法使用第三方工具来最小化它。
有什么方法可以最小化它以使页面访问更快吗?
谢谢。