{"action":"created","issue":{"url":"https://api.github.com/repos/zhenyong/webpack-stable-module-id-and-hash/issues/2","repository_url":"https://api.github.com/repos/zhenyong/webpack-stable-module-id-and-hash","labels_url":"https://api.github.com/repos/zhenyong/webpack-stable-module-id-and-hash/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/zhenyong/webpack-stable-module-id-and-hash/issues/2/comments","events_url":"https://api.github.com/repos/zhenyong/webpack-stable-module-id-and-hash/issues/2/events","html_url":"https://github.com/zhenyong/webpack-stable-module-id-and-hash/issues/2","id":188395558,"number":2,"title":"Cant access jQuery object after use it.","user":{"login":"naphystart","id":15663564,"avatar_url":"https://avatars.githubusercontent.com/u/15663564?v=3","gravatar_id":"","url":"https://api.github.com/users/naphystart","html_url":"https://github.com/naphystart","followers_url":"https://api.github.com/users/naphystart/followers","following_url":"https://api.github.com/users/naphystart/following{/other_user}","gists_url":"https://api.github.com/users/naphystart/gists{/gist_id}","starred_url":"https://api.github.com/users/naphystart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naphystart/subscriptions","organizations_url":"https://api.github.com/users/naphystart/orgs","repos_url":"https://api.github.com/users/naphystart/repos","events_url":"https://api.github.com/users/naphystart/events{/privacy}","received_events_url":"https://api.github.com/users/naphystart/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-11-10T01:13:21Z","updated_at":"2016-11-10T14:21:15Z","closed_at":null,"body":"Can not access global jQuery object after use this plugin, it prompts `can not find $`，why?\r\n\r\n\r\nI register jQuery in this way:\r\n\r\n```\r\nnew webpack.ProvidePlugin({ \r\n            $: 'jquery',\r\n            jQuery: 'jquery',\r\n            'window.jQuery': 'jquery',\r\n            'window.$': 'jquery',\r\n})\r\n```\r\n\r\nAnd expose to global like:\r\n\r\n```\r\n{\r\n              test: require.resolve('jquery'),\r\n              loader: \"expose?$!expose?jQuery\",\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/zhenyong/webpack-stable-module-id-and-hash/issues/comments/259701598","html_url":"https://github.com/zhenyong/webpack-stable-module-id-and-hash/issues/2#issuecomment-259701598","issue_url":"https://api.github.com/repos/zhenyong/webpack-stable-module-id-and-hash/issues/2","id":259701598,"user":{"login":"naphystart","id":15663564,"avatar_url":"https://avatars.githubusercontent.com/u/15663564?v=3","gravatar_id":"","url":"https://api.github.com/users/naphystart","html_url":"https://github.com/naphystart","followers_url":"https://api.github.com/users/naphystart/followers","following_url":"https://api.github.com/users/naphystart/following{/other_user}","gists_url":"https://api.github.com/users/naphystart/gists{/gist_id}","starred_url":"https://api.github.com/users/naphystart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naphystart/subscriptions","organizations_url":"https://api.github.com/users/naphystart/orgs","repos_url":"https://api.github.com/users/naphystart/repos","events_url":"https://api.github.com/users/naphystart/events{/privacy}","received_events_url":"https://api.github.com/users/naphystart/received_events","type":"User","site_admin":false},"created_at":"2016-11-10T14:21:15Z","updated_at":"2016-11-10T14:21:15Z","body":"@NekR  ...actually I don't think in that way, I know it's a note or more likely an advise, maybe I don't express myself well \r\n\r\nIt's that true? In my project, when I remove ProvidePlugin and not adding `require('jquery') `in entry.js,  it will prompts `can not find $`.  I think I should look up more information about that. Thanks for your remind :-)"}}
{"actor":{"display_login":"naphystart"}}