@jesterkit/exe-nuxt
v0.1.3
Published
EXE is a tool for TanStack to build a standalone executable with full stack features such as SSR, API routes, server hooks....
Maintainers
Readme
Get started with Nuxt
⚠️ The Nuxt package is experimental.
Requirements:
- Bun installed on your machine to build the executable (not to run).
Install the package
npm install @jesterkit/exe-nuxtAdd the postbuild script to your package.json
{
"scripts": {
"postbuild": "exe-nuxt"
}
}Build the executable
npm run buildRun the executable.
./dist/appPostbuild options
out: The output directory for the built binary (default:dist).binaryName: The name of the executable (default:app).target: The target platform for the binary (default to your current platform). Available targets:linux-x64,linux-x64-baseline,macos-arm64,windows-x64,windows-x64-baseline,darwin-x64,darwin-arm64,linux-x64-musl,linux-arm64-musl.volume: The volume mount point for the binary (no volume mount by default). Useful for persistent storage for self-hosting, usually/data.external: The external dependencies to exclude from bundling (comma-separated string or array).
Example
{
"scripts": {
"postbuild": "exe-nuxt --out dist --binaryName my-app --target linux-x64 --volume /data"
}
}