Skip to content
This repository was archived by the owner on Apr 30, 2023. It is now read-only.

fix RangeError: Maximum call stack size exceeded in wrangler local mode #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 0 additions & 36 deletions js/polyfill_performance.js

This file was deleted.

3 changes: 2 additions & 1 deletion js/worker.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import "./polyfill_performance.js";
import "./wasm_exec.js";
import mod from "../dist/app.wasm";

globalThis.performance.now = Date.now

const go = new Go();

const load = WebAssembly.instantiate(mod, go.importObject).then((instance) => {
Expand Down