{"action":"opened","issue":{"url":"https://api.github.com/repos/coballast/three.js/issues/1","labels_url":"https://api.github.com/repos/coballast/three.js/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/coballast/three.js/issues/1/comments","events_url":"https://api.github.com/repos/coballast/three.js/issues/1/events","html_url":"https://github.com/coballast/three.js/issues/1","id":69376706,"number":1,"title":"Including in your own browserify project.","user":{"login":"HMUDesign","id":980338,"avatar_url":"https://avatars.githubusercontent.com/u/980338?v=3","gravatar_id":"","url":"https://api.github.com/users/HMUDesign","html_url":"https://github.com/HMUDesign","followers_url":"https://api.github.com/users/HMUDesign/followers","following_url":"https://api.github.com/users/HMUDesign/following{/other_user}","gists_url":"https://api.github.com/users/HMUDesign/gists{/gist_id}","starred_url":"https://api.github.com/users/HMUDesign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HMUDesign/subscriptions","organizations_url":"https://api.github.com/users/HMUDesign/orgs","repos_url":"https://api.github.com/users/HMUDesign/repos","events_url":"https://api.github.com/users/HMUDesign/events{/privacy}","received_events_url":"https://api.github.com/users/HMUDesign/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-19T03:17:27Z","updated_at":"2015-04-19T03:17:27Z","closed_at":null,"body":"I have not used browserify before, so if I have simply missed something, I apologize. I set up a project in order to work on the shader chunks. While the browserify command can be easily run from inside the src directory, when including the individual modules from my own project, it was a bit more odd. Is there any way to change this, or is this just how it would have to be?\r\n\r\nThe ideal requires would look like:\r\n```\r\nvar Scene = require('threejs/scenes/Scene');\r\nvar PerspectiveCamera = require('threejs/cameras/PerspectiveCamera');\r\nvar WebGLRenderer = require('threejs/renderers/WebGLRenderer');\r\nvar DirectionalLight = require('threejs/lights/DirectionalLight');\r\nvar BoxGeometry = require('threejs/extras/geometries/BoxGeometry');\r\nvar MeshBasicMaterial = require('threejs/materials/MeshBasicMaterial');\r\nvar Mesh = require('threejs/objects/Mesh');\r\n```\r\n\r\nBut in order to make it work, I had to modify to:\r\n```\r\nvar Scene = require('threejs/src/scenes/Scene');\r\nvar PerspectiveCamera = require('threejs/src/cameras/PerspectiveCamera');\r\nvar WebGLRenderer = require('threejs/src/renderers/WebGLRenderer');\r\nvar DirectionalLight = require('threejs/src/lights/DirectionalLight');\r\nvar BoxGeometry = require('threejs/src/extras/geometries/BoxGeometry');\r\nvar MeshBasicMaterial = require('threejs/src/materials/MeshBasicMaterial');\r\nvar Mesh = require('threejs/src/objects/Mesh');\r\n```"}}