Skip to content
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

Minify HTML / Razor Pages #262

Open
Beblia opened this issue Jan 19, 2023 · 1 comment
Open

Minify HTML / Razor Pages #262

Beblia opened this issue Jan 19, 2023 · 1 comment

Comments

@Beblia
Copy link

Beblia commented Jan 19, 2023

Can you please add the ability to minify html/razor pages? Currently I see that only css and js can be minified. Would be an awesome addition. This is for Blazor Web Server on .net 7.
Thanks.

@A9G-Data-Droid
Copy link

Due to the extension framework, maybe an extension could be built from:

https://github.com/Taritsyn/WebMarkupMin

I have installed both WebOptimizer and WebMarkupMin to see if they play nice together. It's working for my project. I did a quick view-source before and after. I can see that my HTML become a single packed line after installing WebMarkupMin, so we can get the effect we want this way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants