Skip to content

Build fails with [UNRESOLVED_ENTRY] nitro/dist/presets/bun/runtime/bun when a custom resolve.extensions is set #3222

Description

@AhmedElBanna80

Found running the official Next.js e2e test suite against vinext (vinext 1.0.0-beta.8, Next.js 16.2). Error line is from the suite's own output.

Fixture: test/e2e/app-dir/resolve-extensions

Symptom (build): [UNRESOLVED_ENTRY] nitro/dist/presets/bun/runtime/bun. A fixture-level custom resolve.extensions appears to shadow the nitro bun preset's own entry resolution, so the preset runtime entry no longer resolves.

Repro: an app that overrides resolve.extensions, built through the nitro preset: 'bun'.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions