unjs / nitro

Next Generation Server Toolkit. Create web servers with everything you need and deploy them wherever you prefer.
https://nitro.unjs.io
MIT License
5.83k stars 492 forks source link

WinterJS runtime support #1861

Open pi0 opened 10 months ago

pi0 commented 10 months ago

Related: Wasmer Edge

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).

The latest documentation is living in: https://nitro.unjs.io/deploy/runtimes/winterjs

Changelog

Status

Currently, winter is not a stable preset but having it in the nightly channel allows iterating and testing across the ecosystem.

Currently, Nitro tests are passing (9 skipped mainly because of isolated behavior)

nitro-deploys works except for static assets

Basic Nuxt apps used to hang are now working too!

TODO:

pi0 commented 9 months ago

Update: Before 2.8 release I just noticed runtime is completely broken again. I had to disable tests to allow release and also hide documentation temporarily. (preset will be still available for 2.8 but undocumented and unsupported)

Really looking forward to announce wasmer support but seems too early.