docs: add node-addon-internal-loader README

This commit is contained in:
imccyu
2026-07-15 11:33:23 +08:00
parent 52264d87ee
commit 33474159e9
4 changed files with 6 additions and 5 deletions

View File

@@ -98,7 +98,8 @@ export function assertEntriesLoaded(ctx: Context, binName: string): void {
* tree settles. The include uses an absolute file URL while `baseUrl` stays at
* the config directory for its relative imports. A missing fiber rejects here;
* a later init rejection is handled by {@link installFailLoud}. Built bins need
* `--expose-internals` for bare plugin specifiers; relative specifiers do not.
* `--expose-internals` or the Loader's native fallback for bare plugin
* specifiers; relative specifiers do not.
* @param binName - the diagnostic prefix for load-failure errors.
* @param absoluteConfigPath - the config to include; must already be absolute
* (see {@link resolveConfigPath}).