title: Design pattern with three.js and webpack
body: <p>I'm looking for a better way to organize my code with <strong>three.js</strong> and <strong>webpack</strong> than having everything in a single file (camera, meshes, lights, postprocessing, etc).</p>
  
  <p>I thought I could use "manager modules" like a LightManager class, or a PostProcessingManager class, for instance. But then, these modules should be singletons, since I would only need one instance, right? Singleton is said to be a "bad" pattern, though (or you know, "it's not that it's bad, but in many cases you probably miss a better solution"). </p>
  
  <p>So I'm wondering what are my options? How do you guys organize your code?</p>