We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug Originally found here. Since porting the build processes to esbuild, Two.js has been unable to load in commonjs environments.
To Reproduce Steps to reproduce the behavior: Try to import Two.js in a Node environment (not ES6) via:
const Two = require('two.js');
Expected behavior Two.js is loaded. But, the result is actually this:
Uncaught (in promise) TypeError: Two is not a constructor at sketch (sketch.js? [sm]:11:1) at SketchManager.js:967:20
Environment (please select one):
The text was updated successfully, but these errors were encountered:
Fixed and published to v0.8.10
v0.8.10
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Originally found here. Since porting the build processes to esbuild, Two.js has been unable to load in commonjs environments.
To Reproduce
Steps to reproduce the behavior:
Try to import Two.js in a Node environment (not ES6) via:
Expected behavior
Two.js is loaded. But, the result is actually this:
Environment (please select one):
The text was updated successfully, but these errors were encountered: