{"action":"created","issue":{"url":"https://api.github.com/repos/aurelia/webpack-plugin/issues/44","repository_url":"https://api.github.com/repos/aurelia/webpack-plugin","labels_url":"https://api.github.com/repos/aurelia/webpack-plugin/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/aurelia/webpack-plugin/issues/44/comments","events_url":"https://api.github.com/repos/aurelia/webpack-plugin/issues/44/events","html_url":"https://github.com/aurelia/webpack-plugin/issues/44","id":162313289,"number":44,"title":"Resolving linked dependencies and nested dependencies not resolved to right folder","user":{"login":"MrHayato","id":600962,"avatar_url":"https://avatars.githubusercontent.com/u/600962?v=3","gravatar_id":"","url":"https://api.github.com/users/MrHayato","html_url":"https://github.com/MrHayato","followers_url":"https://api.github.com/users/MrHayato/followers","following_url":"https://api.github.com/users/MrHayato/following{/other_user}","gists_url":"https://api.github.com/users/MrHayato/gists{/gist_id}","starred_url":"https://api.github.com/users/MrHayato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrHayato/subscriptions","organizations_url":"https://api.github.com/users/MrHayato/orgs","repos_url":"https://api.github.com/users/MrHayato/repos","events_url":"https://api.github.com/users/MrHayato/events{/privacy}","received_events_url":"https://api.github.com/users/MrHayato/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aurelia/webpack-plugin/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":25,"created_at":"2016-06-26T05:26:19Z","updated_at":"2016-08-01T14:16:00Z","closed_at":null,"body":"Hey there,\r\n\r\nSo far almost all of our webpack plugin woes are fixed. The last remaining issue is with nested dependencies. Given this folder structure:\r\n\r\n```\r\nCore/\r\n\r\nLib1/\r\n└─ node_modules/\r\n    └─ Core/\r\n\r\nApp/\r\n└─ node_modules/\r\n   └─ Lib1/  <-- SymLink (it doesn't have to be symlinked, same can be achieved running \"npm install\" within this folder)\r\n   └─ Core/\r\n```\r\n\r\nI'm loading webpack from the `App` folder. Inside that folder, I've specified `aurelia.build.resources` to include `Core`. I expect the core folder to be resolved to `App/node_modules/Core`, except it's resolving to `App/node_modules/Lib1/node_modules/Core`. This is then causing other dependencies to be loaded from the long folder, or skipped altogether because they're not found in the Lib1's node_modules folder. Once I delete all the node_modules folders from the symlinked folders, everything is resolved correctly."},"comment":{"url":"https://api.github.com/repos/aurelia/webpack-plugin/issues/comments/236592831","html_url":"https://github.com/aurelia/webpack-plugin/issues/44#issuecomment-236592831","issue_url":"https://api.github.com/repos/aurelia/webpack-plugin/issues/44","id":236592831,"user":{"login":"heruan","id":851745,"avatar_url":"https://avatars.githubusercontent.com/u/851745?v=3","gravatar_id":"","url":"https://api.github.com/users/heruan","html_url":"https://github.com/heruan","followers_url":"https://api.github.com/users/heruan/followers","following_url":"https://api.github.com/users/heruan/following{/other_user}","gists_url":"https://api.github.com/users/heruan/gists{/gist_id}","starred_url":"https://api.github.com/users/heruan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heruan/subscriptions","organizations_url":"https://api.github.com/users/heruan/orgs","repos_url":"https://api.github.com/users/heruan/repos","events_url":"https://api.github.com/users/heruan/events{/privacy}","received_events_url":"https://api.github.com/users/heruan/received_events","type":"User","site_admin":false},"created_at":"2016-08-01T14:16:00Z","updated_at":"2016-08-01T14:16:00Z","body":"I did and fixed PAL fork, and then all the others (templating, etc.), but still I get unexpected behaviors from other packages and aliasing all cross-dependencies is really unmanageable on large projects. I'm asking support to Webpack about this aliasing behavior. Thank you!"}}
{"actor":{"display_login":"heruan"}}