[Feature] Minify output
Open
Area-Razor
Area-Razor-Compiler
Feature Request
- Dominant language
- C#
- Stars
- 20.7k
- Forks
- 4.3k
- PR merge metrics
- PR metrics pending
Description
It would be very helpful if the razor compiler would produce minified output.
The simplest approach would be to
- remove whitespace between elements (e.g. convert double spaces to single space, trim trailing/leading spaces)
- remove whitespace within attributes (e.g. `class=" foo bar "`)
A full-featured minifier can do much more than that - but I propose that the basics above would be good enough.
Contributor guide
Assessment
This issue has not been assessed yet.