Skip to content

Commit

Permalink
feat: update surrealdb_wasm js file import
Browse files Browse the repository at this point in the history
  • Loading branch information
limcheekin committed Sep 27, 2024
1 parent 0a918fb commit 4597aa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
</script>
<script type="module">
import { Surreal, StringRecordId } from "$FLUTTER_BASE_HREFassets/packages/surrealdb_js/assets/js/index.bundled.mjs";
import { surrealdbWasmEngines } from "$FLUTTER_BASE_HREFassets/packages/surrealdb_wasm/assets/wasm/surrealdb/esm.bundled.js";
import { surrealdbWasmEngines } from "$FLUTTER_BASE_HREFassets/packages/surrealdb_wasm/assets/wasm/surrealdb/index.bundled.js";

// expose the type to the global scope
globalThis.SurrealJS = Surreal;
Expand Down

0 comments on commit 4597aa8

Please sign in to comment.