Repository navigation
v0.3.7
Patch Changes
-
#81
0a96d2aThanks @JounQin! - Copy the installed binding binary to the loader's local path so the runtime fallback still works when Node has cached the failed package lookup. -
#79
0f3601dThanks @JounQin! - Add anapi-patchbin for injecting the all-platform runtime fallback into generated napi-rs loaders. It inserts the all-platform fallback before the loader's finalif (!nativeBinding)check, with no WebContainer-only guard. The API accepts an entry, package name and extra text to append; nested entries such asnapi/index.jsare supported. The inserted fallback is guarded bySKIP_<PACKAGE>_FALLBACK; scoped names are encoded asSKIP_SCOPE_PACKAGE_FALLBACK. A loader that already ran the fallback gives up instead of starting another nested install.