diff --git a/packages/frontend/src/scripts/workers/inject_placeholders.ts b/packages/frontend/src/scripts/workers/inject_placeholders.ts index bb2734f2..1b3617a5 100644 --- a/packages/frontend/src/scripts/workers/inject_placeholders.ts +++ b/packages/frontend/src/scripts/workers/inject_placeholders.ts @@ -1,7 +1,8 @@ const proc = { env: { NODE_DEBUG: false - } + }, + version: "20.0.1" }; // @ts-expect-error - process is not available in a browser context diff --git a/packages/frontend/src/scripts/workers/meld_solver_worker.ts b/packages/frontend/src/scripts/workers/meld_solver_worker.ts index a8289070..ce3e7502 100644 --- a/packages/frontend/src/scripts/workers/meld_solver_worker.ts +++ b/packages/frontend/src/scripts/workers/meld_solver_worker.ts @@ -1,5 +1,5 @@ -// import './inject_placeholders'; -// import 'global-jsdom/register'; +import './inject_placeholders'; +import 'global-jsdom/register'; import {SheetExport} from "@xivgear/xivmath/geartypes" import {HEADLESS_SHEET_PROVIDER} from "@xivgear/core/sheet"; import {MeldSolverSettingsExport} from "../components/meld_solver_bar";