Skip to content

Commit 4511a7d

Browse files
committed
fix(playground): use direct esbuild dependency instead of reaching into secure-exec node_modules
1 parent 87e8dab commit 4511a7d

3 files changed

Lines changed: 9 additions & 273 deletions

File tree

packages/playground/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"secure-exec": "workspace:*"
1616
},
1717
"devDependencies": {
18+
"esbuild": "^0.27.1",
1819
"monaco-editor": "0.52.2",
1920
"pyodide": "0.28.3",
2021
"typescript": "5.9.3"

packages/playground/scripts/build-worker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { readFile, writeFile } from "node:fs/promises";
22
import { dirname, resolve } from "node:path";
33
import { fileURLToPath } from "node:url";
4-
import { build } from "../../secure-exec/node_modules/esbuild/lib/main.js";
4+
import { build } from "esbuild";
55

66
const playgroundDir = resolve(fileURLToPath(new URL("..", import.meta.url)));
77
const workerSourcePath = resolve(playgroundDir, "../secure-exec/src/browser/worker.ts");

0 commit comments

Comments
 (0)