Javascript files from the examples folder (such as OrbitControls) are not CommonJS or ES Modules, but they can still be used in Webpack bundles:
In package.json:
"dependencies": {
"three": "0.84.0",
"webpack": "2.4.1"
}Javascript files from the examples folder (such as OrbitControls) are not CommonJS or ES Modules, but they can still be used in Webpack bundles:
In package.json:
"dependencies": {
"three": "0.84.0",
"webpack": "2.4.1"
}(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.