Skip to content

Support running @antv/layout-wasm on Node.js #244

@Jaakkonen

Description

@Jaakkonen

Currently trying to run import * as layoutWasm from '@antv/layout-wasm' produces an error ReferenceError: self is not defined since the index.min.js contains references to self and expects to be run in a browser environment.

Version: @antv/layout-wasm 1.4.2

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions