Skip to content

Support for node --build-snapshot #4669

@SamyPesse

Description

@SamyPesse

This would solve...

Currently when trying to use --build-snapshot with undici, it fails with:

ReferenceError: WebAssembly is not defined
    at lazyllhttp (/Users/samypesse/Projects/gitbook-x/services/cloudrun/api/dist/api/dev/dist/index.dev.js:229040:9)
    at ../../../node_modules/.pnpm/[email protected]/node_modules/undici/lib/dispatcher/client-h1.js

The implementation should look like...

I'm not sure at all, to be honest it might just boils to how Node.js could support (or not) WebAssembly for snapshotting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions