mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-17 03:20:45 +00:00
Removes the win32 exclusion from supportsNativeJitiRuntime() and adds { allowWindows: true } to all tryNativeRequireJavaScriptModule call sites, so bundled plugin modules use native require() instead of Jiti on Windows. Also adds an attempted-load counter to the debug timing log and a changelog entry.
Fixes #68656
Co-authored-by: Galin Iliev <galiniliev@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
4 lines
151 B
TypeScript
4 lines
151 B
TypeScript
export function shouldExpectNativeJitiForJavaScriptTestRuntime(): boolean {
|
|
return typeof (process.versions as { bun?: string }).bun !== "string";
|
|
}
|