Skip to content

fix(nuxt): avoid external nitropack runtime barrel#18

Merged
onmax merged 1 commit into
mainfrom
codex/fix-nuxt-runtime-config-import
Jun 3, 2026
Merged

fix(nuxt): avoid external nitropack runtime barrel#18
onmax merged 1 commit into
mainfrom
codex/fix-nuxt-runtime-config-import

Conversation

@onmax

@onmax onmax commented Jun 3, 2026

Copy link
Copy Markdown
Owner

Narrows the Nuxt runtime config import used by the Nitro validation plugin from the broad nitropack/runtime barrel to the config-only runtime entry. This keeps Nuxt node-server output from retaining a live package-runtime import that can pull Nitro virtual imports outside the generated Nitro build context.

Adds regression coverage that builds the Nuxt runtime-validation fixture and asserts the generated server output does not contain nitropack/runtime or #nitro-internal-virtual imports. Standalone Nitro keeps using nitro/runtime-config.

@vercel

vercel Bot commented Jun 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
nuxt-safe-runtime-config Error Error Jun 3, 2026 7:46am

@pkg-pr-new

pkg-pr-new Bot commented Jun 3, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/nuxt-safe-runtime-config@18

commit: 6568e4f

@onmax
onmax force-pushed the codex/fix-nuxt-runtime-config-import branch from 3269e11 to 6568e4f Compare June 3, 2026 07:44
@onmax
onmax merged commit b8d52c0 into main Jun 3, 2026
5 of 6 checks passed
@onmax
onmax deleted the codex/fix-nuxt-runtime-config-import branch June 3, 2026 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant