{"action":"created","issue":{"url":"https://api.github.com/repos/webpack/webpack/issues/943","labels_url":"https://api.github.com/repos/webpack/webpack/issues/943/labels{/name}","comments_url":"https://api.github.com/repos/webpack/webpack/issues/943/comments","events_url":"https://api.github.com/repos/webpack/webpack/issues/943/events","html_url":"https://github.com/webpack/webpack/issues/943","id":66287558,"number":943,"title":"Doesn't respect exclude: /node_modules/ when a module is linked","user":{"login":"natew","id":12100,"avatar_url":"https://avatars.githubusercontent.com/u/12100?v=3","gravatar_id":"","url":"https://api.github.com/users/natew","html_url":"https://github.com/natew","followers_url":"https://api.github.com/users/natew/followers","following_url":"https://api.github.com/users/natew/following{/other_user}","gists_url":"https://api.github.com/users/natew/gists{/gist_id}","starred_url":"https://api.github.com/users/natew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natew/subscriptions","organizations_url":"https://api.github.com/users/natew/orgs","repos_url":"https://api.github.com/users/natew/repos","events_url":"https://api.github.com/users/natew/events{/privacy}","received_events_url":"https://api.github.com/users/natew/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-04-04T07:47:52Z","updated_at":"2015-04-15T15:45:25Z","closed_at":null,"body":"I noticed this on 1.7.3, if I have a module linked via `npm link` it will still run loaders that have `exclude: /node_modules/`. If they aren't linked, it works as expected."},"comment":{"url":"https://api.github.com/repos/webpack/webpack/issues/comments/93455808","html_url":"https://github.com/webpack/webpack/issues/943#issuecomment-93455808","issue_url":"https://api.github.com/repos/webpack/webpack/issues/943","id":93455808,"user":{"login":"sokra","id":1365881,"avatar_url":"https://avatars.githubusercontent.com/u/1365881?v=3","gravatar_id":"","url":"https://api.github.com/users/sokra","html_url":"https://github.com/sokra","followers_url":"https://api.github.com/users/sokra/followers","following_url":"https://api.github.com/users/sokra/following{/other_user}","gists_url":"https://api.github.com/users/sokra/gists{/gist_id}","starred_url":"https://api.github.com/users/sokra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sokra/subscriptions","organizations_url":"https://api.github.com/users/sokra/orgs","repos_url":"https://api.github.com/users/sokra/repos","events_url":"https://api.github.com/users/sokra/events{/privacy}","received_events_url":"https://api.github.com/users/sokra/received_events","type":"User","site_admin":false},"created_at":"2015-04-15T15:45:25Z","updated_at":"2015-04-15T15:45:25Z","body":"node.js behaves the same way.\r\n\r\nmodules are looked up relative to the requiring module.\r\n\r\nThere is a workaround: `resolve.root = path.join(__dirname, \"node_modules\")`."}}