Preset: winterjs
You can easily build Nitro powered applications to run with wasmerio/winterjs runtime.
WinterJS is a JavaScript Service Workers server written in Rust, that uses the SpiderMonkey runtime to execute JavaScript (the same runtime that Firefox uses) (announcement).
In order to build for this runtime, use NITRO_PRESET="winterjs" environment variable:
NITRO_PRESET="winterjs" npm run build
Make sure you have wasmer installed locally (install wasmer)
Run locally:
wasmer run wasmer/winterjs --forward-host-env --net --mapdir app:.output app/server/index.mjs