git submodule update --init --recursive
docker build -t https-everywhere-lib-wasm .
docker run -it --rm -v $(pwd):/opt https-everywhere-lib-wasm
Run the aforementioned build environment. In that shell:
wasm-pack build -t no-modules
We need to add a special flag before testing in node. This should change some time in the future.
WBINDGEN_I_PROMISE_JS_SYNTAX_WORKS_IN_NODE=1 wasm-pack test --node