{"action":"created","issue":{"url":"https://api.github.com/repos/webpack/webpack/issues/1801","labels_url":"https://api.github.com/repos/webpack/webpack/issues/1801/labels{/name}","comments_url":"https://api.github.com/repos/webpack/webpack/issues/1801/comments","events_url":"https://api.github.com/repos/webpack/webpack/issues/1801/events","html_url":"https://github.com/webpack/webpack/issues/1801","id":123877251,"number":1801,"title":"ReferenceError: jquery is not defined","user":{"login":"MikeBazhenov","id":1553430,"avatar_url":"https://avatars.githubusercontent.com/u/1553430?v=3","gravatar_id":"","url":"https://api.github.com/users/MikeBazhenov","html_url":"https://github.com/MikeBazhenov","followers_url":"https://api.github.com/users/MikeBazhenov/followers","following_url":"https://api.github.com/users/MikeBazhenov/following{/other_user}","gists_url":"https://api.github.com/users/MikeBazhenov/gists{/gist_id}","starred_url":"https://api.github.com/users/MikeBazhenov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikeBazhenov/subscriptions","organizations_url":"https://api.github.com/users/MikeBazhenov/orgs","repos_url":"https://api.github.com/users/MikeBazhenov/repos","events_url":"https://api.github.com/users/MikeBazhenov/events{/privacy}","received_events_url":"https://api.github.com/users/MikeBazhenov/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-25T12:27:18Z","updated_at":"2016-01-10T04:35:22Z","closed_at":"2015-12-25T14:08:46Z","body":"Hi!\r\n\r\nMy project used bootstrap and it required jquery.\r\n\r\nI include jquery in config\r\n\r\n```\r\nplugins: [\r\n    new webpack.ProvidePlugin({\r\n      $: 'jquery',\r\n      jQuery: 'jquery',\r\n      'window.jQuery': 'jquery',\r\n      angular: 'angular',\r\n      _s: 'underscore.string',\r\n      _: 'underscore'\r\n    }),\r\n    new webpack.IgnorePlugin(/^\\.\\/locale$/, [/moment$/]),\r\n  ],\r\n  module: {\r\n    loaders: [\r\n      { test: /[\\/]angular\\.js$/, loader: \"exports?angular\" },\r\n      { test: /magnific-popup/, loader: \"exports?jquery\" },\r\n      { test: /linkify/, loader: \"exports?jquery\" },\r\n      { test: /cropper/, loader: \"exports?jquery\" },\r\n      { test: /perfect-scrollbar/, loader: \"exports?jquery\" },\r\n      { test: /bootstrap/, loader: \"exports?jquery\" },\r\n      { test: /moment-timezone-2010-2020/, loader: \"exports?moment\" }\r\n    ]\r\n  },\r\nresolve: {\r\n    extensions: ['', '.js'],\r\n    root: [ __dirname + '/public/app' ],\r\n    alias: {\r\n      'jquery': __dirname + '/public/vendors/jquery/dist/jquery',\r\n```\r\n\r\nAnd i getting error in my browser after build\r\n\r\n```\r\n/*** EXPORTS FROM exports-loader ***/\r\n\tmodule.exports = jquery\r\n/* WEBPACK VAR INJECTION */\r\n```"},"comment":{"url":"https://api.github.com/repos/webpack/webpack/issues/comments/170313860","html_url":"https://github.com/webpack/webpack/issues/1801#issuecomment-170313860","issue_url":"https://api.github.com/repos/webpack/webpack/issues/1801","id":170313860,"user":{"login":"simkessy","id":5871660,"avatar_url":"https://avatars.githubusercontent.com/u/5871660?v=3","gravatar_id":"","url":"https://api.github.com/users/simkessy","html_url":"https://github.com/simkessy","followers_url":"https://api.github.com/users/simkessy/followers","following_url":"https://api.github.com/users/simkessy/following{/other_user}","gists_url":"https://api.github.com/users/simkessy/gists{/gist_id}","starred_url":"https://api.github.com/users/simkessy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simkessy/subscriptions","organizations_url":"https://api.github.com/users/simkessy/orgs","repos_url":"https://api.github.com/users/simkessy/repos","events_url":"https://api.github.com/users/simkessy/events{/privacy}","received_events_url":"https://api.github.com/users/simkessy/received_events","type":"User","site_admin":false},"created_at":"2016-01-10T04:35:22Z","updated_at":"2016-01-10T04:35:22Z","body":"...what was the issue if you don't mind. "}}