Commit 2c0d215eefa for nodejs
commit 2c0d215eefac6cb1bceb78b9378d326f411d9711
Author: Gautier Ben Aïm <48261497+GauBen@users.noreply.github.com>
Date: Sat Nov 28 16:42:46 2026 +0100
doc: reflect vfs improvements in sea page
Signed-off-by: Gautier Ben Aïm <48261497+GauBen@users.noreply.github.com>
PR-URL: https://github.com/nodejs/node/pull/67096
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
diff --git a/doc/api/single-executable-applications.md b/doc/api/single-executable-applications.md
index 6eab935d4f8..7cf66fba195 100644
--- a/doc/api/single-executable-applications.md
+++ b/doc/api/single-executable-applications.md
@@ -432,12 +432,14 @@ reachable inside the mount.
`"useVfs": true` cannot be used together with `"useSnapshot": true`.
-#### Native addon limitations
-
-Native addons (`.node` files) cannot be loaded directly from the VFS because
-`process.dlopen()` requires files on the real file system. To use native
-addons in a SEA with VFS, write the asset to a temporary file first. See
-[Using native addons in the injected main script][] for an example.
+#### Native addons
+
+Native addons (`.node` files) bundled as assets can be loaded from the VFS
+with `require()` or `process.dlopen()`. The operating system's dynamic loader
+cannot open a virtual path, so the addon is loaded from a private,
+self-cleaning temporary image instead. See [module loader integration][] for
+details. Without `useVfs`, see
+[Using native addons in the injected main script][].
### Startup snapshot support