{"action":"created","issue":{"url":"https://api.github.com/repos/webpack/css-loader/issues/51","repository_url":"https://api.github.com/repos/webpack/css-loader","labels_url":"https://api.github.com/repos/webpack/css-loader/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/webpack/css-loader/issues/51/comments","events_url":"https://api.github.com/repos/webpack/css-loader/issues/51/events","html_url":"https://github.com/webpack/css-loader/issues/51","id":75016161,"number":51,"title":"Use style field in package.json","user":{"login":"SimenB","id":1404810,"avatar_url":"https://avatars.githubusercontent.com/u/1404810?v=3","gravatar_id":"","url":"https://api.github.com/users/SimenB","html_url":"https://github.com/SimenB","followers_url":"https://api.github.com/users/SimenB/followers","following_url":"https://api.github.com/users/SimenB/following{/other_user}","gists_url":"https://api.github.com/users/SimenB/gists{/gist_id}","starred_url":"https://api.github.com/users/SimenB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimenB/subscriptions","organizations_url":"https://api.github.com/users/SimenB/orgs","repos_url":"https://api.github.com/users/SimenB/repos","events_url":"https://api.github.com/users/SimenB/events{/privacy}","received_events_url":"https://api.github.com/users/SimenB/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2015-05-10T22:34:15Z","updated_at":"2016-07-01T11:06:10Z","closed_at":null,"body":"Like https://github.com/rotundasoftware/parcelify\r\n\r\nE.g. I have `@import url(\"~nanoscroller\");` in my css. I expect that to use the `style` field in that package's `package.json`. Instead, that module's JS was included in my css."},"comment":{"url":"https://api.github.com/repos/webpack/css-loader/issues/comments/229920506","html_url":"https://github.com/webpack/css-loader/issues/51#issuecomment-229920506","issue_url":"https://api.github.com/repos/webpack/css-loader/issues/51","id":229920506,"user":{"login":"DataTables","id":278219,"avatar_url":"https://avatars.githubusercontent.com/u/278219?v=3","gravatar_id":"","url":"https://api.github.com/users/DataTables","html_url":"https://github.com/DataTables","followers_url":"https://api.github.com/users/DataTables/followers","following_url":"https://api.github.com/users/DataTables/following{/other_user}","gists_url":"https://api.github.com/users/DataTables/gists{/gist_id}","starred_url":"https://api.github.com/users/DataTables/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DataTables/subscriptions","organizations_url":"https://api.github.com/users/DataTables/orgs","repos_url":"https://api.github.com/users/DataTables/repos","events_url":"https://api.github.com/users/DataTables/events{/privacy}","received_events_url":"https://api.github.com/users/DataTables/received_events","type":"User","site_admin":false},"created_at":"2016-07-01T11:06:10Z","updated_at":"2016-07-01T11:06:10Z","body":"Would one of the authors of this package be willing to suggest how they would suggest go about approaching this? I'm willing to give it a ago, since as a library author myself, this will make my distribution documentation much easier.\r\n\r\nOne thing that I'm not clear on though is what is `require('myModule')`'s package.json contains both a `main` and a `style` property. My feeling is that it should pull in both the CSS and the JS..."}}
{"actor":{"display_login":"DataTables"}}