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
Currently trying to run
import * as layoutWasm from '@antv/layout-wasm'produces an errorReferenceError: self is not definedsince theindex.min.jscontains references toselfand expects to be run in a browser environment.Version:
@antv/layout-wasm1.4.2