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.
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 thebuild-commonjs
process to generate bad code. The simplest solution seemed like just changing the import statements to require statements.