{"action":"opened","issue":{"url":"https://api.github.com/repos/webpack/webpack/issues/1519","labels_url":"https://api.github.com/repos/webpack/webpack/issues/1519/labels{/name}","comments_url":"https://api.github.com/repos/webpack/webpack/issues/1519/comments","events_url":"https://api.github.com/repos/webpack/webpack/issues/1519/events","html_url":"https://github.com/webpack/webpack/issues/1519","id":111929063,"number":1519,"title":"How to make all modules from one bundle available for another bundle to require","user":{"login":"jedwards1211","id":1448194,"avatar_url":"https://avatars.githubusercontent.com/u/1448194?v=3","gravatar_id":"","url":"https://api.github.com/users/jedwards1211","html_url":"https://github.com/jedwards1211","followers_url":"https://api.github.com/users/jedwards1211/followers","following_url":"https://api.github.com/users/jedwards1211/following{/other_user}","gists_url":"https://api.github.com/users/jedwards1211/gists{/gist_id}","starred_url":"https://api.github.com/users/jedwards1211/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jedwards1211/subscriptions","organizations_url":"https://api.github.com/users/jedwards1211/orgs","repos_url":"https://api.github.com/users/jedwards1211/repos","events_url":"https://api.github.com/users/jedwards1211/events{/privacy}","received_events_url":"https://api.github.com/users/jedwards1211/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-16T23:25:57Z","updated_at":"2015-10-16T23:25:57Z","closed_at":null,"body":"Jasmine poses a problem since it relies on injecting variables into the local scope of a module.\r\n\r\nHere's what I want to accomplish.\r\n* Create my dev/production server bundle as usual in one file\r\n* Create a separate bundle for running via Jasmine whose modules can `require` any module out of the main server bundle.\r\n* None of those modules should be duplicated in the test bundle -- it should be able to access the same modules containing the realtime state of the server.\r\n\r\nIs there a way to do this?"}}