{"action":"created","issue":{"url":"https://api.github.com/repos/babel/babel-preset-env/issues/26","repository_url":"https://api.github.com/repos/babel/babel-preset-env","labels_url":"https://api.github.com/repos/babel/babel-preset-env/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/babel/babel-preset-env/issues/26/comments","events_url":"https://api.github.com/repos/babel/babel-preset-env/issues/26/events","html_url":"https://github.com/babel/babel-preset-env/issues/26","id":182800639,"number":26,"title":"Send file path to browserslist","user":{"login":"ai","id":19343,"avatar_url":"https://avatars.githubusercontent.com/u/19343?v=3","gravatar_id":"","url":"https://api.github.com/users/ai","html_url":"https://github.com/ai","followers_url":"https://api.github.com/users/ai/followers","following_url":"https://api.github.com/users/ai/following{/other_user}","gists_url":"https://api.github.com/users/ai/gists{/gist_id}","starred_url":"https://api.github.com/users/ai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ai/subscriptions","organizations_url":"https://api.github.com/users/ai/orgs","repos_url":"https://api.github.com/users/ai/repos","events_url":"https://api.github.com/users/ai/events{/privacy}","received_events_url":"https://api.github.com/users/ai/received_events","type":"User","site_admin":false},"labels":[{"id":424467600,"url":"https://api.github.com/repos/babel/babel-preset-env/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":424467601,"url":"https://api.github.com/repos/babel/babel-preset-env/labels/help%20wanted","name":"help wanted","color":"128A0C","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-10-13T14:11:02Z","updated_at":"2017-02-19T12:22:54Z","closed_at":null,"body":"Browserslist could use `browserslist` config file. It is useful, because many different tools will share same config (Autoprefixer, Stylelint, cssnext, doiuse).\n\nBut to enable a config, you need to pass a path for current file:\n\n``` js\nbrowserslist(opts.browsers, { path: opts.file })\n```\n"},"comment":{"url":"https://api.github.com/repos/babel/babel-preset-env/issues/comments/280915638","html_url":"https://github.com/babel/babel-preset-env/issues/26#issuecomment-280915638","issue_url":"https://api.github.com/repos/babel/babel-preset-env/issues/26","id":280915638,"user":{"login":"ai","id":19343,"avatar_url":"https://avatars.githubusercontent.com/u/19343?v=3","gravatar_id":"","url":"https://api.github.com/users/ai","html_url":"https://github.com/ai","followers_url":"https://api.github.com/users/ai/followers","following_url":"https://api.github.com/users/ai/following{/other_user}","gists_url":"https://api.github.com/users/ai/gists{/gist_id}","starred_url":"https://api.github.com/users/ai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ai/subscriptions","organizations_url":"https://api.github.com/users/ai/orgs","repos_url":"https://api.github.com/users/ai/repos","events_url":"https://api.github.com/users/ai/events{/privacy}","received_events_url":"https://api.github.com/users/ai/received_events","type":"User","site_admin":false},"created_at":"2017-02-19T12:22:54Z","updated_at":"2017-02-19T12:22:54Z","body":"@yavorsky in next major Browserslist will not look in `process.cwd()` on missed `path`.\r\n\r\n`path` option in Browserslist should be set not to config, but to processed JS file."}}
{"actor":{"display_login":"ai"}}