Skip to content

__dirname is not sufficient to derive the path to WASM file #1282

Open
@mPaella

Description

@mPaella

Please see Emurgo/cardano-serialization-lib#624 for details

__dirname is not sufficient for deriving the path when used with recent versions of nextjs, in certain situations (app directory)(tested with 13.4.1 and latest canary)

This may be something Vercel will fix, but as of today wasm-pack libraries don't work in the new NextJs App directory

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions