{"action":"closed","issue":{"url":"https://api.github.com/repos/jspm/jspm-cli/issues/1370","labels_url":"https://api.github.com/repos/jspm/jspm-cli/issues/1370/labels{/name}","comments_url":"https://api.github.com/repos/jspm/jspm-cli/issues/1370/comments","events_url":"https://api.github.com/repos/jspm/jspm-cli/issues/1370/events","html_url":"https://github.com/jspm/jspm-cli/issues/1370","id":122596066,"number":1370,"title":"Can't system.import bundled file","user":{"login":"dj-hedgehog","id":7140800,"avatar_url":"https://avatars.githubusercontent.com/u/7140800?v=3","gravatar_id":"","url":"https://api.github.com/users/dj-hedgehog","html_url":"https://github.com/dj-hedgehog","followers_url":"https://api.github.com/users/dj-hedgehog/followers","following_url":"https://api.github.com/users/dj-hedgehog/following{/other_user}","gists_url":"https://api.github.com/users/dj-hedgehog/gists{/gist_id}","starred_url":"https://api.github.com/users/dj-hedgehog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dj-hedgehog/subscriptions","organizations_url":"https://api.github.com/users/dj-hedgehog/orgs","repos_url":"https://api.github.com/users/dj-hedgehog/repos","events_url":"https://api.github.com/users/dj-hedgehog/events{/privacy}","received_events_url":"https://api.github.com/users/dj-hedgehog/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jspm/jspm-cli/labels/support","name":"support","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-16T20:38:02Z","updated_at":"2015-12-18T06:17:57Z","closed_at":"2015-12-18T06:17:57Z","body":"I'm doing this in my application\r\n\r\n```\r\nSystem.import('lib/bootstrap.js').then(m => {\r\n   this.socket = m.io(\"http://localhost:3000\");\r\n})\r\n```\r\n\r\nThis is `bootstrap.js`\r\n```\r\nimport io from 'socket.io-client';\r\nexport { io };\r\n``` \r\n\r\nI created a bundle via `jspm bundle lib/bootstrap.js outfile.js`.\r\n\r\nWhen I try to `System.import('outfile.js')` the resolved Promise `m` is only an empty Object.\r\nWhat am I doing wrong here? \r\n\r\n```\r\nSystem.import('outfile.js').then(m => {\r\n   this.socket = m.io(\"http://localhost:3000\");\r\n})\r\n```"}}