Merge pull request #715

* Fixed multi-line tags being minified incorrectly. Fixed self closing …

* Improved html whitespace minification fix.
This commit is contained in:
Alexander Hudek
2021-05-15 23:22:44 -04:00
committed by GitHub
parent 6ab1a4adb0
commit 101d344303
10 changed files with 201 additions and 17 deletions

14
v2/internal/html/testdata/basic.html vendored Normal file
View File

@@ -0,0 +1,14 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/src/favicon.svg"></link>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script type="text/javascript" src="src/bundle.js"></script>
<link rel="stylesheet" href="src/style.css"></link>
<title>Vite App</title>
</head>
<body>
<div id="root"></div>
</body>
</html>