Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

How to minify CSS isolation in Blazor?

$
0
0

I followed the tutorial in https://learn.microsoft.com/en-us/aspnet/core/blazor/components/css-isolation?view=aspnetcore-8.0#additional-resources

And now the CSS isolation works well.

I have a problem that the CSS isolation style(just like this blow) is not minified.

<link href="{ASSEMBLY NAME}.styles.css" rel="stylesheet">

I've thought about minimizing it using a tool like BuildBundlerMinifier. However, it seems it is not a static file and it is generated dynamically so I can't use a third-party tool to minimize it.

Is there any way that I can minimize it to make page access faster?

Thank you.


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>