Deployment
Vinxi allows you to deploy the same app anywhere: any platform, any runtime. This is made possible by amazing preset system built by nitro.
To build your app for a certain platform, use the SERVER_PRESET environment variable. For example, to build your app for bun, use SERVER_PRESET=bun npm run build.
This list of supported presets are:
vercelvercel-edgevercel-staticbundeno-serverdeno-deploynode-clinode-servernodestaticwinterjscloudflare-pagescloudflare-modulecloudflarezeaburstormkitservice-workerrender-comnetlifynetlify-edgenetlify-buildernetlify-staticlagonlayer0iisherokugithub-pagesflightcontrolfirebaseedgeiodigital-oceanaws-amplifyazureazure-functionsaws-lambda