Closed jcayzac closed 6 years ago
Please see this contributing doc on how to write better issues, I’m not sure what you’re saying.
Sorry for the lack of context!
Using Rehype with just the minify preset, any inline script in the source document gets turned into an empty script tag after the minification.
Since it was blocking me, I stopped using rehype in favor of uglifyjs so I can’t reproduce it now.
<script>…anything…</script>
is transformed into<script></script>
(empty script).