Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: clarify useCodeCache setting for cross-platform SEA generation #53994

Merged
merged 8 commits into from
Jul 31, 2024
5 changes: 5 additions & 0 deletions doc/api/single-executable-applications.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,11 @@ If the paths are not absolute, Node.js will use the path relative to the
current working directory. The version of the Node.js binary used to produce
the blob must be the same as the one to which the blob will be injected.

Note: When generating cross-platform SEAs (e.g., generating an SEA on
platform A for platform B), `useCodeCache` and `useSnapshot` must be set to
debbs061 marked this conversation as resolved.
Show resolved Hide resolved
false to avoid generating 'broken' executables. The generated executable might
crash on startup if these settings are not configured properly.
debbs061 marked this conversation as resolved.
Show resolved Hide resolved

### Assets

Users can include assets by adding a key-path dictionary to the configuration
Expand Down
Loading