{"action":"opened","issue":{"url":"https://api.github.com/repos/kadirahq/react-storybook/issues/525","repository_url":"https://api.github.com/repos/kadirahq/react-storybook","labels_url":"https://api.github.com/repos/kadirahq/react-storybook/issues/525/labels{/name}","comments_url":"https://api.github.com/repos/kadirahq/react-storybook/issues/525/comments","events_url":"https://api.github.com/repos/kadirahq/react-storybook/issues/525/events","html_url":"https://github.com/kadirahq/react-storybook/issues/525","id":180730075,"number":525,"title":"storybook-loader for webpack","user":{"login":"Idered","id":230404,"avatar_url":"https://avatars.githubusercontent.com/u/230404?v=3","gravatar_id":"","url":"https://api.github.com/users/Idered","html_url":"https://github.com/Idered","followers_url":"https://api.github.com/users/Idered/followers","following_url":"https://api.github.com/users/Idered/following{/other_user}","gists_url":"https://api.github.com/users/Idered/gists{/gist_id}","starred_url":"https://api.github.com/users/Idered/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Idered/subscriptions","organizations_url":"https://api.github.com/users/Idered/orgs","repos_url":"https://api.github.com/users/Idered/repos","events_url":"https://api.github.com/users/Idered/events{/privacy}","received_events_url":"https://api.github.com/users/Idered/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-03T19:51:08Z","updated_at":"2016-10-03T19:51:08Z","closed_at":null,"body":"I have a project in which, each component directory contains a story:\r\n\r\n![](http://i.imgur.com/xn6Tfc4.png)\r\n\r\nWith current react-storybook I have to require each .story.js file:\r\n\r\n![](http://i.imgur.com/UWWVwjD.png)\r\n\r\nIs it possible to load all files ending with .story.js as stories using webpack:\r\n\r\n```js\r\nloaders: [\r\n  {\r\n    test: /\\.story.js/,\r\n    include: require.resolve('src'),\r\n    loader: 'storybook-loader',\r\n  }\r\n]\r\n```\r\n\r\nstorybook-loader is just an idea."}}
{"actor":{"display_login":"Idered"}}