Skip to content

Commit

Permalink
Re-enable jsdom, add extra placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
xpdota committed Sep 23, 2024
1 parent 3d35234 commit f1c6840
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion packages/frontend/src/scripts/workers/inject_placeholders.ts
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions packages/frontend/src/scripts/workers/meld_solver_worker.ts
Original file line number Diff line number Diff line change
@@ -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";
Expand Down

0 comments on commit f1c6840

Please sign in to comment.