Skip to content

Commit

Permalink
chore: correct async modules test cases (vitejs#4991)
Browse files Browse the repository at this point in the history
  • Loading branch information
patak-dev authored and aleclarson committed Nov 8, 2021
1 parent 520be84 commit e2f0aff
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 28 deletions.
20 changes: 6 additions & 14 deletions packages/playground/html/scriptAsync.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>scriptAsync</title>
<script async type="module" src="/main.js"></script>
<script async type="module" src="/nested/nested.js"></script>
</head>
<body>
<h1>scriptAsync.html</h1>
</body>
</html>
<link rel="stylesheet" href="/main.css" />

<h1>scriptAsync.html</h1>

<script async type="module" src="/main.js"></script>
<script async type="module" src="/nested/nested.js"></script>
20 changes: 6 additions & 14 deletions packages/playground/html/scriptMixed.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>scriptMixed</title>
<script async type="module" src="/main.js"></script>
<script type="module" src="/nested/nested.js"></script>
</head>
<body>
<h1>scriptMixed.html</h1>
</body>
</html>
<link rel="stylesheet" href="/main.css" />

<h1>scriptMixed.html</h1>

<script async type="module" src="/main.js"></script>
<script type="module" src="/nested/nested.js"></script>

0 comments on commit e2f0aff

Please sign in to comment.