{"action":"created","issue":{"url":"https://api.github.com/repos/aurelia/bootstrapper-webpack/issues/6","repository_url":"https://api.github.com/repos/aurelia/bootstrapper-webpack","labels_url":"https://api.github.com/repos/aurelia/bootstrapper-webpack/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/aurelia/bootstrapper-webpack/issues/6/comments","events_url":"https://api.github.com/repos/aurelia/bootstrapper-webpack/issues/6/events","html_url":"https://github.com/aurelia/bootstrapper-webpack/issues/6","id":147498259,"number":6,"title":"Support Aurelia Plugin syntax","user":{"login":"Vaccano","id":206109,"avatar_url":"https://avatars.githubusercontent.com/u/206109?v=3","gravatar_id":"","url":"https://api.github.com/users/Vaccano","html_url":"https://github.com/Vaccano","followers_url":"https://api.github.com/users/Vaccano/followers","following_url":"https://api.github.com/users/Vaccano/following{/other_user}","gists_url":"https://api.github.com/users/Vaccano/gists{/gist_id}","starred_url":"https://api.github.com/users/Vaccano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vaccano/subscriptions","organizations_url":"https://api.github.com/users/Vaccano/orgs","repos_url":"https://api.github.com/users/Vaccano/repos","events_url":"https://api.github.com/users/Vaccano/events{/privacy}","received_events_url":"https://api.github.com/users/Vaccano/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-11T17:28:54Z","updated_at":"2016-04-11T17:55:47Z","closed_at":"2016-04-11T17:41:05Z","body":"JSPM supported a plugin syntax to Aurelia.  It seems that webpack does not support this.\r\n\r\nRepro:  \r\n1. Start with the webpack typescript skeleton project.\r\n2. run `npm install aurelia-dialog`\r\n3. Add this to the main.ts : `.plugin('aurelia-dialog')` right after `.developmentLogging()`. \r\n\r\n**Expected**  \r\nRunning the skeleton project will correctly add aurelia-dialog as a plugin.\r\n\r\n**Actual**\r\n\r\nRunning the skeleton project gives the following error:\r\n\r\n>Cannot find module './aurelia-dialog'.\r\n\r\nAs a side note, none of these work either:\r\n\r\n     .plugin('node_modules/aurelia-dialog/dist/commonjs/aurelia-dialog')\r\n     .plugin('node_modules/aurelia-dialog/dist/commonjs/aurelia-dialog.js')\r\n     .plugin('../node_modules/aurelia-dialog/dist/commonjs/aurelia-dialog')\r\n     .plugin('../node_modules/aurelia-dialog/dist/commonjs/aurelia-dialog.js')\r\n\r\nThey all give a variation of the above error message."},"comment":{"url":"https://api.github.com/repos/aurelia/bootstrapper-webpack/issues/comments/208475143","html_url":"https://github.com/aurelia/bootstrapper-webpack/issues/6#issuecomment-208475143","issue_url":"https://api.github.com/repos/aurelia/bootstrapper-webpack/issues/6","id":208475143,"user":{"login":"Vaccano","id":206109,"avatar_url":"https://avatars.githubusercontent.com/u/206109?v=3","gravatar_id":"","url":"https://api.github.com/users/Vaccano","html_url":"https://github.com/Vaccano","followers_url":"https://api.github.com/users/Vaccano/followers","following_url":"https://api.github.com/users/Vaccano/following{/other_user}","gists_url":"https://api.github.com/users/Vaccano/gists{/gist_id}","starred_url":"https://api.github.com/users/Vaccano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vaccano/subscriptions","organizations_url":"https://api.github.com/users/Vaccano/orgs","repos_url":"https://api.github.com/users/Vaccano/repos","events_url":"https://api.github.com/users/Vaccano/events{/privacy}","received_events_url":"https://api.github.com/users/Vaccano/received_events","type":"User","site_admin":false},"created_at":"2016-04-11T17:55:47Z","updated_at":"2016-04-11T17:55:47Z","body":"@EisenbergEffect Thanks!\r\n\r\nI am presenting Aurelia at the Utah Code Camp on Saturday, and I would love to do with with Webpack.  But so far it is kicking my but.  \r\n\r\nThis helps me get past one of several things that are blocking me.\r\n\r\n(I mostly have JSPM figured, so I can present Aurelia using that if I can't get Webpack to work.)"}}