We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3b26bf commit 40ecf3dCopy full SHA for 40ecf3d
server/src/utils.ts
@@ -115,7 +115,7 @@ let findBinary = async (
115
// TODO: export `binPaths` from `rescript` package so that we don't need to
116
// copy the logic for figuring out `target`.
117
const target = `${process.platform}-${process.arch}`;
118
- const targetPackagePath = path.join(rescriptDir, "..", `@rescript/${target}`)
+ const targetPackagePath = path.join(rescriptDir, "..", `@rescript/${target}/bin.js`)
119
const { binPaths } = await import(targetPackagePath);
120
121
if (binary == "bsc.exe") {
0 commit comments