Skip to content

Commit b56233a

Browse files
committed
Remove type=module from no-modules example
We're not using ES modules, so use just a normal script! Closes #2182
1 parent 1076065 commit b56233a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/without-a-bundler-no-modules/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<!-- Include the JS generated by `wasm-pack build` -->
77
<script src='pkg/without_a_bundler_no_modules.js'></script>
88

9-
<script type=module>
9+
<script>
1010
// Like with the `--target web` output the exports are immediately
1111
// available but they won't work until we initialize the module. Unlike
1212
// `--target web`, however, the globals are all stored on a

0 commit comments

Comments
 (0)