{"action":"created","issue":{"url":"https://api.github.com/repos/josdejong/jsoneditor/issues/157","labels_url":"https://api.github.com/repos/josdejong/jsoneditor/issues/157/labels{/name}","comments_url":"https://api.github.com/repos/josdejong/jsoneditor/issues/157/comments","events_url":"https://api.github.com/repos/josdejong/jsoneditor/issues/157/events","html_url":"https://github.com/josdejong/jsoneditor/issues/157","id":54956577,"number":157,"title":"Concatenating js into one file, not finding the jsoneditor theme & mode files","user":{"login":"andrewboni","id":255026,"avatar_url":"https://avatars.githubusercontent.com/u/255026?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewboni","html_url":"https://github.com/andrewboni","followers_url":"https://api.github.com/users/andrewboni/followers","following_url":"https://api.github.com/users/andrewboni/following{/other_user}","gists_url":"https://api.github.com/users/andrewboni/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewboni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewboni/subscriptions","organizations_url":"https://api.github.com/users/andrewboni/orgs","repos_url":"https://api.github.com/users/andrewboni/repos","events_url":"https://api.github.com/users/andrewboni/events{/privacy}","received_events_url":"https://api.github.com/users/andrewboni/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-01-20T23:34:55Z","updated_at":"2015-03-11T16:28:19Z","closed_at":null,"body":"Hi, as part of my build process, I'm concatenating all of my js files into a single file, which ends up living outside of my `/public/bower_components/` dir, where `jsoneditor` and other js libraries live.\r\n\r\nAs a result, the theme and formatting files are 404ing:\r\n```\r\nFailed to load resource: https://app.mydomain.com/mode-json.js the server responded with a status of 404 (Not Found)\r\nFailed to load resource: https://app.mydomain.com/theme-jsoneditor.js the server responded with a status of 404 (Not Found)\r\n```\r\n\r\nIs there a way to explicitly specify the path to `mode-json.js` and `theme-jsoneditor.js` ? Or can `jsoneditor.min.js` include these files automatically? What's the best way to handle this? Thanks!"},"comment":{"url":"https://api.github.com/repos/josdejong/jsoneditor/issues/comments/78299430","html_url":"https://github.com/josdejong/jsoneditor/issues/157#issuecomment-78299430","issue_url":"https://api.github.com/repos/josdejong/jsoneditor/issues/157","id":78299430,"user":{"login":"nfvs","id":163961,"avatar_url":"https://avatars.githubusercontent.com/u/163961?v=3","gravatar_id":"","url":"https://api.github.com/users/nfvs","html_url":"https://github.com/nfvs","followers_url":"https://api.github.com/users/nfvs/followers","following_url":"https://api.github.com/users/nfvs/following{/other_user}","gists_url":"https://api.github.com/users/nfvs/gists{/gist_id}","starred_url":"https://api.github.com/users/nfvs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nfvs/subscriptions","organizations_url":"https://api.github.com/users/nfvs/orgs","repos_url":"https://api.github.com/users/nfvs/repos","events_url":"https://api.github.com/users/nfvs/events{/privacy}","received_events_url":"https://api.github.com/users/nfvs/received_events","type":"User","site_admin":false},"created_at":"2015-03-11T16:28:19Z","updated_at":"2015-03-11T16:28:19Z","body":"@josdejong 4.0.0 is not working for me. The index.js file is using `require('./src/js/JSONEditor')`, but the distribution version installed with npm doesn't contain the `src/` folder, only `dist/`.\r\n\r\n```\r\nFatal error: Cannot find module './src/js/JSONEditor' from '/node_modules/jsoneditor'\r\n```"}}