Skip to content

Commit 2738699

Browse files
mweinbachclaude
andcommitted
fix(server): keep fff-node require redirect to the patched ESM entry
The previous commit dropped the package.json hunk that points exports.require at dist/index.js, so the server's require() loaded the unpatched dist/index.cjs and skipped both the FFI speedup and the existing Windows native-library path fix. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 0a54aca commit 2738699

2 files changed

Lines changed: 16 additions & 3 deletions

File tree

‎patches/@[email protected]‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
diff --git a/package.json b/package.json
2+
index e000a78..8432546 100644
3+
--- a/package.json
4+
+++ b/package.json
5+
@@ -11,7 +11,7 @@
6+
".": {
7+
"types": "./dist/index.d.ts",
8+
"import": "./dist/index.js",
9+
- "require": "./dist/index.cjs",
10+
+ "require": "./dist/index.js",
11+
"default": "./dist/index.js"
12+
},
13+
"./package.json": "./package.json"
114
diff --git a/dist/index.js b/dist/index.js
215
--- a/dist/index.js
316
+++ b/dist/index.js

‎pnpm-lock.yaml‎

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)