Skip to content

[Feature] Minify output #10908

Open
Open
@lonix1

Description

@lonix1

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)

A full-featured minifier can do much more than that - but I propose that the basics above would be good enough.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-compilerUmbrella for all compiler issuesfeature requestLarge improvement request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions