Izzimach / react-three-legacy

React bindings to create and control a 3D scene using three.js
Other
1.52k stars 128 forks source link

Upgrades three dependency to ^0.84.0 #102

Closed Syynth closed 7 years ago

Syynth commented 7 years ago

At some point between 0.74 and 0.84, the three package became an actual ES Module, with an __esModule: true flag. This caused the webpack process for the build-commonjs process to generate bad code. The simplest solution seemed like just changing the import statements to require statements.

Izzimach commented 7 years ago

Thanks for adding that, but this was already fixed in the dev branch as 64206317d96b42f935b29fee076a84e85053a07b

I'll try to publish a new npm this week.