You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support building for externally shared js builtins
Initial support for loading unbundled module in `AddExternalizedBuiltin`.
- Reduces downstream distribution package size (by not shipping wasm twice
and not base64-encoding it)
- Provides a cleaner stacktrace
- Easier to patch
To enable this, pass `EXTERNAL_PATH=/path/to/global/node_modules/undici`
to `build/wasm.js`.
You shall also pass this path to `--shared-builtin-undici/undici-path`
in Node.js's `configure.py`.
Reference:
nodejs/node@ca5be26b318nodejs/node#44376
Signed-off-by: Zephyr Lykos <[email protected]>
0 commit comments