Try to run this vis on kibana5, then got a TypeError: _d32.default.sankey is not a function.
If I change the _d32["default"].sankey in kibana.bundle.js as d3.sankey, all can run right.
But I didn't know how the webpack compile d3.sankey() into _d32["default"].sankey().
Try to run this vis on kibana5, then got a
TypeError: _d32.default.sankey is not a function
. If I change the_d32["default"].sankey
inkibana.bundle.js
asd3.sankey
, all can run right. But I didn't know how the webpack compiled3.sankey()
into_d32["default"].sankey()
.