mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-15 17:50:51 +00:00
Remove type=module
from no-modules example (#2184)
We're not using ES modules, so use just a normal script! Closes #2182
This commit is contained in:
commit
36dcbb8066
@ -6,7 +6,7 @@
|
|||||||
<!-- Include the JS generated by `wasm-pack build` -->
|
<!-- Include the JS generated by `wasm-pack build` -->
|
||||||
<script src='pkg/without_a_bundler_no_modules.js'></script>
|
<script src='pkg/without_a_bundler_no_modules.js'></script>
|
||||||
|
|
||||||
<script type=module>
|
<script>
|
||||||
// Like with the `--target web` output the exports are immediately
|
// Like with the `--target web` output the exports are immediately
|
||||||
// available but they won't work until we initialize the module. Unlike
|
// available but they won't work until we initialize the module. Unlike
|
||||||
// `--target web`, however, the globals are all stored on a
|
// `--target web`, however, the globals are all stored on a
|
||||||
|
Loading…
x
Reference in New Issue
Block a user