swc/crates/swc_html_minifier/tests/fixture/element/script-group/output.min.html

54 lines
1.6 KiB
HTML

<!doctype html><html lang=en><title>Document</title><div>breaker</div>
<script>var o="test";console.log(o);var e="test";console.log(e)</script>
<div>breaker</div>
<script>var o="test";console.log(o);var e="test";console.log(e)</script>
<div>breaker</div>
<script>var o="test";console.log(o);var e="test";console.log(e)</script>
<div>breaker</div>
<script>var o="test";console.log(o);var e="test";console.log(e)</script>
<div>breaker</div>
<script>var o="test";console.log(o)</script><script crossorigin=use-credentials>var o="test";console.log(o)</script>
<div>breaker</div>
<script crossorigin=use-credentials>var o="test";console.log(o);var e="test";console.log(e)</script>
<div>breaker</div>
<script>(function o(){let o="1";console.log(o)})();let o="1";console.log(o)</script>
<div>breaker</div>
<script type=module>var o="test";console.log(o)</script><script>var o="test";console.log(o)</script>
<div>breaker</div>
<script type=module>var o="test";console.log(o)</script><script type=module>var o="test";console.log(o)</script>
<div>breaker</div>
<script>var o="test";console.log(o)</script><script type=unknown>var b = "test";console.log(b)</script>
<div>breaker</div>
<script src=test.js></script><script>var o="test";console.log(o)</script>
<div>breaker</div>
<div>breaker</div>
<script>var o="test";console.log(o);var e="test";console.log(e)</script>
<div>breaker</div>
<script>var o="test";console.log(o);var e="test";console.log(e)</script>
<div>breaker</div>
<script type=module>var o="test";console.log(o)</script><script type=module>var o="test";console.log(b)</script>