Skip to content

Commit

Permalink
Merge pull request #52 from parcel-bundler/script-type-module
Browse files Browse the repository at this point in the history
Add type="module"
  • Loading branch information
DeMoorJasper authored Aug 15, 2021
2 parents 1c26532 + 9555755 commit 2328eb5
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 51 deletions.
2 changes: 1 addition & 1 deletion benchmarks/ak-editor/src/index.html
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<div id="react-root"></div>
<script src="./index.js"></script>
<script src="./index.js" type="module"></script>
24 changes: 0 additions & 24 deletions benchmarks/kitchen-sink/legacy.html

This file was deleted.

24 changes: 0 additions & 24 deletions benchmarks/kitchen-sink/modern.html

This file was deleted.

2 changes: 1 addition & 1 deletion benchmarks/kitchen-sink/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" />
<title>Modern Simple Example</title>
<link rel="stylesheet" href="styles.css" />
<script src="index.js"></script>
<script src="index.js" type="module"></script>
</head>
<body>
<h1>I am an H1</h1>
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/react-hn/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
<link rel="stylesheet" type="text/css" href="assets/css/style.css" />
<body>
<div id="app"></div>
<script src="index.js"></script>
<script src="index.js" type="module"></script>
</body>

0 comments on commit 2328eb5

Please sign in to comment.