Skip to content

read-wasm abstraction #372

Description

@FranckFreiburger

constreadWasm=require("../lib/read-wasm");

Is it possible to make read-wasm abstract in order to allow users to implement their own version ?
I encounter some difficulties to bundle source-map in server-side code generated through webpack.

constwasmPath=path.join(__dirname,"mappings.wasm");
fs.readFile(wasmPath,null,(error,data)=>{

has no sense in this context.

Thanks.

--edit--
Maybe you can allow #339 for node.js ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions