layout icon indicating copy to clipboard operation
layout copied to clipboard

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

Open Jaakkonen opened this issue 9 months ago • 0 comments

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

Jaakkonen avatar Jun 16 '25 08:06 Jaakkonen