{"action":"created","issue":{"url":"https://api.github.com/repos/aurelia/webpack-plugin/issues/8","repository_url":"https://api.github.com/repos/aurelia/webpack-plugin","labels_url":"https://api.github.com/repos/aurelia/webpack-plugin/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/aurelia/webpack-plugin/issues/8/comments","events_url":"https://api.github.com/repos/aurelia/webpack-plugin/issues/8/events","html_url":"https://github.com/aurelia/webpack-plugin/issues/8","id":143435240,"number":8,"title":"webpack fails with <require from=\"\"> module syntax unless also in js files","user":{"login":"deitch","id":282526,"avatar_url":"https://avatars.githubusercontent.com/u/282526?v=3","gravatar_id":"","url":"https://api.github.com/users/deitch","html_url":"https://github.com/deitch","followers_url":"https://api.github.com/users/deitch/followers","following_url":"https://api.github.com/users/deitch/following{/other_user}","gists_url":"https://api.github.com/users/deitch/gists{/gist_id}","starred_url":"https://api.github.com/users/deitch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deitch/subscriptions","organizations_url":"https://api.github.com/users/deitch/orgs","repos_url":"https://api.github.com/users/deitch/repos","events_url":"https://api.github.com/users/deitch/events{/privacy}","received_events_url":"https://api.github.com/users/deitch/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-03-25T06:22:24Z","updated_at":"2016-06-09T18:15:31Z","closed_at":"2016-06-09T18:00:48Z","body":"I install bootstrap via npm and then try to use the template's `<require>` syntax:\r\n\r\n````html\r\n  <require from=\"bootstrap/css/bootstrap.min.css\"></require>\r\n````\r\n\r\nThe above will fail in webpack but will work in jspm. It only works if I include it in a JS file:\r\n\r\n````javascript\r\nimport 'bootstrap/dist/css/bootstrap.css';\r\n````\r\n\r\nStepping through the code in Chrome debugger, aurelia-templating successfully finds the require and tries to load it from the bundle, but the bundle does not contain it.\r\n\r\nIt appears to be an issue with parsing the html template during *bundle* time (as opposed to run-time).\r\n\r\nBe happy to try and help with a fix if someone could explain why this fails and how it works in jspm?\r\n"},"comment":{"url":"https://api.github.com/repos/aurelia/webpack-plugin/issues/comments/224981024","html_url":"https://github.com/aurelia/webpack-plugin/issues/8#issuecomment-224981024","issue_url":"https://api.github.com/repos/aurelia/webpack-plugin/issues/8","id":224981024,"user":{"login":"EisenbergEffect","id":131485,"avatar_url":"https://avatars.githubusercontent.com/u/131485?v=3","gravatar_id":"","url":"https://api.github.com/users/EisenbergEffect","html_url":"https://github.com/EisenbergEffect","followers_url":"https://api.github.com/users/EisenbergEffect/followers","following_url":"https://api.github.com/users/EisenbergEffect/following{/other_user}","gists_url":"https://api.github.com/users/EisenbergEffect/gists{/gist_id}","starred_url":"https://api.github.com/users/EisenbergEffect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EisenbergEffect/subscriptions","organizations_url":"https://api.github.com/users/EisenbergEffect/orgs","repos_url":"https://api.github.com/users/EisenbergEffect/repos","events_url":"https://api.github.com/users/EisenbergEffect/events{/privacy}","received_events_url":"https://api.github.com/users/EisenbergEffect/received_events","type":"User","site_admin":false},"created_at":"2016-06-09T18:15:31Z","updated_at":"2016-06-09T18:15:31Z","body":"Definitely all thanks go to @niieani He did amazing work.\r\nIt's on master now. We'll push the release out soon. @niieani can answer any questions you have over specifics."}}
{"actor":{"display_login":"EisenbergEffect"}}