Skip to content

read-wasm abstraction #372

Open
Open
@FranckFreiburger

Description

@FranckFreiburger

const readWasm = 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.

const wasmPath = 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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions