Webpack4 not support export fields in package.json for '@hpcc-js/wasm'.
So the use of 'import { Graphviz } from "@hpcc-js/wasm/graphviz";' will throw error.
In d3-graphvis/src/dot.js and d3-graphvis/src/graphviz.js:
Change to 'import wasm from "@hpcc-js/wasm";' .
And change ' Graphviz.load()' to 'wasm .Graphviz.load()'
Webpack4 not support export fields in package.json for '@hpcc-js/wasm'. So the use of 'import { Graphviz } from "@hpcc-js/wasm/graphviz";' will throw error.