{"action":"created","issue":{"url":"https://api.github.com/repos/css-modules/css-modulesify/issues/69","labels_url":"https://api.github.com/repos/css-modules/css-modulesify/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/css-modules/css-modulesify/issues/69/comments","events_url":"https://api.github.com/repos/css-modules/css-modulesify/issues/69/events","html_url":"https://github.com/css-modules/css-modulesify/issues/69","id":121295217,"number":69,"title":"`require('…')` call in output contains full filepath","user":{"login":"snikch","id":115958,"avatar_url":"https://avatars.githubusercontent.com/u/115958?v=3","gravatar_id":"","url":"https://api.github.com/users/snikch","html_url":"https://github.com/snikch","followers_url":"https://api.github.com/users/snikch/followers","following_url":"https://api.github.com/users/snikch/following{/other_user}","gists_url":"https://api.github.com/users/snikch/gists{/gist_id}","starred_url":"https://api.github.com/users/snikch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snikch/subscriptions","organizations_url":"https://api.github.com/users/snikch/orgs","repos_url":"https://api.github.com/users/snikch/repos","events_url":"https://api.github.com/users/snikch/events{/privacy}","received_events_url":"https://api.github.com/users/snikch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-09T17:14:51Z","updated_at":"2015-12-09T18:47:03Z","closed_at":null,"body":"I've probably configured something wrong here, but I appear to be getting the full filepath in my browserified output. This appears to be limited only to the dependant files, i.e. files that are in `composes` calls. The normal javascript files have the correct, relative, filepaths.\r\n\r\n```js\r\n28:[function(require,module,exports){\r\nrequire('/Users/mal/Code/src/github.com/…/…/frontend/oauth/src/styles/components/button.css')\r\nmodule.exports = {\"header\":\"_components_login__header\", …}\r\n},\r\n{\"/Users/mal/Code/src/github.com/…/…/frontend/oauth/src/styles/components/button.css\":26}]\r\n```\r\n\r\nAny ideas on what I'm doing wrong here?\r\n"},"comment":{"url":"https://api.github.com/repos/css-modules/css-modulesify/issues/comments/163354450","html_url":"https://github.com/css-modules/css-modulesify/issues/69#issuecomment-163354450","issue_url":"https://api.github.com/repos/css-modules/css-modulesify/issues/69","id":163354450,"user":{"login":"joeybaker","id":36662,"avatar_url":"https://avatars.githubusercontent.com/u/36662?v=3","gravatar_id":"","url":"https://api.github.com/users/joeybaker","html_url":"https://github.com/joeybaker","followers_url":"https://api.github.com/users/joeybaker/followers","following_url":"https://api.github.com/users/joeybaker/following{/other_user}","gists_url":"https://api.github.com/users/joeybaker/gists{/gist_id}","starred_url":"https://api.github.com/users/joeybaker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joeybaker/subscriptions","organizations_url":"https://api.github.com/users/joeybaker/orgs","repos_url":"https://api.github.com/users/joeybaker/repos","events_url":"https://api.github.com/users/joeybaker/events{/privacy}","received_events_url":"https://api.github.com/users/joeybaker/received_events","type":"User","site_admin":false},"created_at":"2015-12-09T18:47:02Z","updated_at":"2015-12-09T18:47:02Z","body":"> I've also tried with the `__dirname` option to no avail. \r\n\r\nDoes that mean you tried something like:\r\n\r\n```js\r\n{\r\n   rootDir: path.join(__dirname, 'src', 'styles')\r\n}\r\n```\r\n\r\nIf not, maybe give that a shot?\r\n\r\nIf so, what's your setup look like?"}}