{"action":"created","issue":{"url":"https://api.github.com/repos/brunch/brunch/issues/1415","repository_url":"https://api.github.com/repos/brunch/brunch","labels_url":"https://api.github.com/repos/brunch/brunch/issues/1415/labels{/name}","comments_url":"https://api.github.com/repos/brunch/brunch/issues/1415/comments","events_url":"https://api.github.com/repos/brunch/brunch/issues/1415/events","html_url":"https://github.com/brunch/brunch/issues/1415","id":160615478,"number":1415,"title":"Provide Globals As a Required Package Simiar to externals of Webpack","user":{"login":"ferhatelmas","id":648018,"avatar_url":"https://avatars.githubusercontent.com/u/648018?v=3","gravatar_id":"","url":"https://api.github.com/users/ferhatelmas","html_url":"https://github.com/ferhatelmas","followers_url":"https://api.github.com/users/ferhatelmas/followers","following_url":"https://api.github.com/users/ferhatelmas/following{/other_user}","gists_url":"https://api.github.com/users/ferhatelmas/gists{/gist_id}","starred_url":"https://api.github.com/users/ferhatelmas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ferhatelmas/subscriptions","organizations_url":"https://api.github.com/users/ferhatelmas/orgs","repos_url":"https://api.github.com/users/ferhatelmas/repos","events_url":"https://api.github.com/users/ferhatelmas/events{/privacy}","received_events_url":"https://api.github.com/users/ferhatelmas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-16T09:20:23Z","updated_at":"2016-06-16T09:28:30Z","closed_at":null,"body":"Is there a way to provide globals as a required package similar to `externals` of Webpack?\r\n\r\nFor example, we can add React from CDN via a script tag. However, npm packages requiring React would give error while bundling because there is no React package installed. It should be somehow possible to expose global React to them."},"comment":{"url":"https://api.github.com/repos/brunch/brunch/issues/comments/226434755","html_url":"https://github.com/brunch/brunch/issues/1415#issuecomment-226434755","issue_url":"https://api.github.com/repos/brunch/brunch/issues/1415","id":226434755,"user":{"login":"goshakkk","id":315596,"avatar_url":"https://avatars.githubusercontent.com/u/315596?v=3","gravatar_id":"","url":"https://api.github.com/users/goshakkk","html_url":"https://github.com/goshakkk","followers_url":"https://api.github.com/users/goshakkk/followers","following_url":"https://api.github.com/users/goshakkk/following{/other_user}","gists_url":"https://api.github.com/users/goshakkk/gists{/gist_id}","starred_url":"https://api.github.com/users/goshakkk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goshakkk/subscriptions","organizations_url":"https://api.github.com/users/goshakkk/orgs","repos_url":"https://api.github.com/users/goshakkk/repos","events_url":"https://api.github.com/users/goshakkk/events{/privacy}","received_events_url":"https://api.github.com/users/goshakkk/received_events","type":"User","site_admin":false},"created_at":"2016-06-16T09:28:30Z","updated_at":"2016-06-16T09:28:30Z","body":"Currently there is none.\r\n\r\nAlso, I'm not 100% sure, but if React from CDN is loaded before your bundle, won't the React bundle create its own `require`? Therefore not giving a chance for Brunch to bootstrap its own `require?"}}
{"actor":{"display_login":"goshakkk"}}