{"action":"created","issue":{"url":"https://api.github.com/repos/webpack/style-loader/issues/156","repository_url":"https://api.github.com/repos/webpack/style-loader","labels_url":"https://api.github.com/repos/webpack/style-loader/issues/156/labels{/name}","comments_url":"https://api.github.com/repos/webpack/style-loader/issues/156/comments","events_url":"https://api.github.com/repos/webpack/style-loader/issues/156/events","html_url":"https://github.com/webpack/style-loader/issues/156","id":195261210,"number":156,"title":"Please add example config for webpack 2","user":{"login":"kristianmandrup","id":125005,"avatar_url":"https://avatars.githubusercontent.com/u/125005?v=3","gravatar_id":"","url":"https://api.github.com/users/kristianmandrup","html_url":"https://github.com/kristianmandrup","followers_url":"https://api.github.com/users/kristianmandrup/followers","following_url":"https://api.github.com/users/kristianmandrup/following{/other_user}","gists_url":"https://api.github.com/users/kristianmandrup/gists{/gist_id}","starred_url":"https://api.github.com/users/kristianmandrup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kristianmandrup/subscriptions","organizations_url":"https://api.github.com/users/kristianmandrup/orgs","repos_url":"https://api.github.com/users/kristianmandrup/repos","events_url":"https://api.github.com/users/kristianmandrup/events{/privacy}","received_events_url":"https://api.github.com/users/kristianmandrup/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-13T14:04:24Z","updated_at":"2016-12-13T16:18:33Z","closed_at":"2016-12-13T16:18:33Z","body":"I would assume for webpack 2, it is\r\n\r\n```js\r\n  module: {\r\n    rules: [\r\n      { \r\n         test: /\\.css$/, \r\n         loader: \"style-loader!css-loader\" \r\n      },\r\n   ]\r\n}\r\n```\r\n\r\nPlease correct me if I'm wrong"},"comment":{"url":"https://api.github.com/repos/webpack/style-loader/issues/comments/266783549","html_url":"https://github.com/webpack/style-loader/issues/156#issuecomment-266783549","issue_url":"https://api.github.com/repos/webpack/style-loader/issues/156","id":266783549,"user":{"login":"kristianmandrup","id":125005,"avatar_url":"https://avatars.githubusercontent.com/u/125005?v=3","gravatar_id":"","url":"https://api.github.com/users/kristianmandrup","html_url":"https://github.com/kristianmandrup","followers_url":"https://api.github.com/users/kristianmandrup/followers","following_url":"https://api.github.com/users/kristianmandrup/following{/other_user}","gists_url":"https://api.github.com/users/kristianmandrup/gists{/gist_id}","starred_url":"https://api.github.com/users/kristianmandrup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kristianmandrup/subscriptions","organizations_url":"https://api.github.com/users/kristianmandrup/orgs","repos_url":"https://api.github.com/users/kristianmandrup/repos","events_url":"https://api.github.com/users/kristianmandrup/events{/privacy}","received_events_url":"https://api.github.com/users/kristianmandrup/received_events","type":"User","site_admin":false},"created_at":"2016-12-13T16:18:33Z","updated_at":"2016-12-13T16:18:33Z","body":"Ah, thanks! I still see most of the webpack 2 examples using the `loaders` key... but it seems to works for now. \r\n\r\nApparently for beta 25 or less it still works without the `-loader`, but with beta 28 it errors and tells me to use specify the full name ie `css-loader` etc.\r\nCheers!"}}
{"actor":{"display_login":"kristianmandrup"}}