Would you consider using ES6 modules? Related three.js just moved to ES6 modules https://github.com/mrdoob/three.js/pull/9310