Closed litinskii closed 5 years ago
@litinskii you are right that it's shipping ES6 syntax. d3-force-3d
is a fork of d3-force
and the syntax is inherited from there, so this concern should be handled upstream. There is an issue raised there which explains the motivation: https://github.com/d3/d3-force/issues/134
@vasturiano Ah ((( Thanks for the explanation
At the moment, d3-force-3d is shipping ES6 syntax as per here.
Because d3-force-3d isn't transpiled, this is breaking IE11 and other older browsers. The arrow function crashes build on IE 11. Changed arrow function to regular function or update rollup configs ?