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
Copy file name to clipboardexpand all lines: deps/undici/src/CONTRIBUTING.md
+1
Original file line number
Diff line number
Diff line change
@@ -159,6 +159,7 @@ an unbundled version instead of bundling one in `libnode.so`.
159
159
To enable this, pass `EXTERNAL_PATH=/path/to/global/node_modules/undici` to `build/wasm.js`.
160
160
Pass this path with `loader.js` appended to `--shared-builtin-undici/undici-path` in Node.js's `configure.py`.
161
161
If building on a non-Alpine Linux distribution, you may need to also set the `WASM_CC`, `WASM_CFLAGS`, `WASM_LDFLAGS` and `WASM_LDLIBS` environment variables before running `build/wasm.js`.
162
+
Similarly, you can set the `WASM_OPT` environment variable to utilize your own `wasm-opt` optimizer.
0 commit comments