Skip to content

[esbuild-plugin-html] Minify occurs even if minify:falseΒ #204

@iamvdo

Description

@iamvdo

Hi,
Seems like line-breaks and spaces are removed, even if minify is false. See https://github.com/chialab/rna/blob/421ba5dee9cb422c1e08c8dcb44b6c83ad8b97fb/packages/esbuild-plugin-html/lib/index.js#L297C25-L297C35

Imho, better to stick to minify plugin in this case. My issue right now is that line breaks and spaces should be kept in <pre> tags...

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions