Replace deprecated minify plugin
jrson83 opened this issue · comments
I really like the possibility to have a all-in-one-minifier-plugin
. Since the minifier package has issues, is deprecated/archived and not maintained, I suggest replacing the minify plugin with a new plugin using wilsonzlin/minify-html, which can minify HTML + JS + CSS, has a lot of userOptions, is great maintained, optimized and comes already with Deno/WASM support.
The reason I suggest this, I run into an issue when using the current minify plugin with rehype-prism-plus
. It is removing all whitespaces from the <pre>
tags:
minify-html
is optimized respecting the tags.
@oscarotero again if this is okay for you, I will create a PR for minify-html
plugin.
@jrson83 I didn't know wilsonzlin/minify-html
but it looks promising.
Yep, I'm agree with this change, so feel free to create a PR with this.
Thanks!
Closing this, since the plugin has been added.