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

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

Open
iamvdo opened this issue Nov 25, 2024 · 0 comments
Open

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

iamvdo opened this issue Nov 25, 2024 · 0 comments

Comments

@iamvdo
Copy link

iamvdo commented Nov 25, 2024

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!

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

1 participant