fix: don't extern sharp (#1200)
This commit is contained in:
6
build.js
6
build.js
@@ -46,8 +46,10 @@ await Bun.build({
|
|||||||
".txt": "text",
|
".txt": "text",
|
||||||
|
|
||||||
},
|
},
|
||||||
// Keep native Node.js modules external to avoid bundling issues
|
// Keep most native Node.js modules external to avoid bundling issues
|
||||||
external: ["ws", "sharp", "@vscode/ripgrep"],
|
// But don't make `sharp` external, causes issues with global Bun-based installs
|
||||||
|
// ref: #745, #1200
|
||||||
|
external: ["ws", "@vscode/ripgrep"],
|
||||||
features: features,
|
features: features,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user