{"action":"created","issue":{"url":"https://api.github.com/repos/webpack/css-loader/issues/258","repository_url":"https://api.github.com/repos/webpack/css-loader","labels_url":"https://api.github.com/repos/webpack/css-loader/issues/258/labels{/name}","comments_url":"https://api.github.com/repos/webpack/css-loader/issues/258/comments","events_url":"https://api.github.com/repos/webpack/css-loader/issues/258/events","html_url":"https://github.com/webpack/css-loader/issues/258","id":147990709,"number":258,"title":"how to get class list by file?","user":{"login":"DragorWW","id":1303845,"avatar_url":"https://avatars.githubusercontent.com/u/1303845?v=3","gravatar_id":"","url":"https://api.github.com/users/DragorWW","html_url":"https://github.com/DragorWW","followers_url":"https://api.github.com/users/DragorWW/followers","following_url":"https://api.github.com/users/DragorWW/following{/other_user}","gists_url":"https://api.github.com/users/DragorWW/gists{/gist_id}","starred_url":"https://api.github.com/users/DragorWW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DragorWW/subscriptions","organizations_url":"https://api.github.com/users/DragorWW/orgs","repos_url":"https://api.github.com/users/DragorWW/repos","events_url":"https://api.github.com/users/DragorWW/events{/privacy}","received_events_url":"https://api.github.com/users/DragorWW/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-04-13T08:52:38Z","updated_at":"2016-04-19T15:33:18Z","closed_at":null,"body":"if not use css-module, how to get class from file ?\r\n```css\r\n//style.css\r\n.block {width:1 00%;}\r\n.block_mod {color: red;}\r\n```\r\n```js\r\n//index.es6\r\nimport slyle form './style.css';\r\n//style = [\r\n//  'block',\r\n//  'block_mod'\r\n//];\r\n```"},"comment":{"url":"https://api.github.com/repos/webpack/css-loader/issues/comments/211980770","html_url":"https://github.com/webpack/css-loader/issues/258#issuecomment-211980770","issue_url":"https://api.github.com/repos/webpack/css-loader/issues/258","id":211980770,"user":{"login":"DragorWW","id":1303845,"avatar_url":"https://avatars.githubusercontent.com/u/1303845?v=3","gravatar_id":"","url":"https://api.github.com/users/DragorWW","html_url":"https://github.com/DragorWW","followers_url":"https://api.github.com/users/DragorWW/followers","following_url":"https://api.github.com/users/DragorWW/following{/other_user}","gists_url":"https://api.github.com/users/DragorWW/gists{/gist_id}","starred_url":"https://api.github.com/users/DragorWW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DragorWW/subscriptions","organizations_url":"https://api.github.com/users/DragorWW/orgs","repos_url":"https://api.github.com/users/DragorWW/repos","events_url":"https://api.github.com/users/DragorWW/events{/privacy}","received_events_url":"https://api.github.com/users/DragorWW/received_events","type":"User","site_admin":false},"created_at":"2016-04-19T15:33:18Z","updated_at":"2016-04-19T15:33:18Z","body":"main idea write class names only css and check by this my code. And do not modify the css using **:local**"}}