Skip to content

wasm import not recognized by node #57

@mayank99

Description

@mayank99

I'm trying to use @fresh/plugin-vite with Node (not Deno), and running into this error when building a very simple project:

TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".wasm"

I've traced the error to @deno/loader in the rs-lib.js file. Is this package not compatible with Node?

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