Skip to content

nextjs + turbopack: cannot find transport target #608

@orpheus6678

Description

@orpheus6678

hi im building a nextjs project with turbopack and currently want to customize my pino-pretty output using the non-serializable options (messageFormat and customPrettifiers to be exact). ive found out that the only clean way this works is if i publish my custom transport module. however, i really feel that my customizations could take a project specific direction and so i dont want to separate its development from the project. but it always ends up not being able to find the transport target in that case. how can i possibly get the bundling and resolution to work right?

im using nextjs v15 with turbopack. link to minimal reproduction repo: https://github.com/orpheus6678/pino-example

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