nuxt-bun-compile

Nuxt module that automatically configures Nitro for `bun build --compile`, generating a standalone executable binary from your Nuxt app.
5,259 8
Install
npm install nuxt-bun-compile
Latest Version:0.1.32
Vue:3
License:MIT
Last Updated:Feb 24, 2026
Links: GitHub  ·  npm
Maintainer: jprando

Nuxt Bun Compile

Socket Badge NPM Downloads NPM Last Update NPM Type Definitions NPM Version (with dist tag) Libraries.io dependency status for latest release NPM License

Logo Nuxt Bun Compile

🚀 Módulo Nuxt que configura automaticamente o Nitro para bun build --compile, gerando um binário executável standalone a partir da sua aplicação Nuxt — sem dependências de runtime.

Read in English


⚡ Início Rápido

Passo 1: Instalar o módulo

bun nuxt add nuxt-bun-compile

Passo 2: Compilar seu binário

bun run -b build

Por que é necessário o parâmetro -b?

Se você enfrentar problemas de memória durante a compilação

Passo 3: Executar seu binário

./nuxtbin
# Listening on http://localhost:3000

Pronto! Seu binário standalone está pronto.

Só um binário. Sem node_modules. Sem runtime. Apenas sua aplicação.



✅ Requisitos

  • Bun 1.3.9+ (para a etapa de --compile)
  • Nuxt 3.x / 4.x
  • Node 24+ (quando não usar Bun como runtime)

📄 Licença

MIT

Version History

Version Released Vue License
0.1.32 ^3.0 MIT
0.1.30 ^3.0 MIT
0.1.29 ^3.0 MIT
0.1.28 ^3.0 MIT
0.1.27 ^3.0 MIT