{"action":"created","issue":{"url":"https://api.github.com/repos/github/webpack-config-github/issues/27","repository_url":"https://api.github.com/repos/github/webpack-config-github","labels_url":"https://api.github.com/repos/github/webpack-config-github/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/github/webpack-config-github/issues/27/comments","events_url":"https://api.github.com/repos/github/webpack-config-github/issues/27/events","html_url":"https://github.com/github/webpack-config-github/pull/27","id":379195434,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI5NzIwMTE5","number":27,"title":"allow users to pass in their own `resolve` field","user":{"login":"koddsson","id":318208,"node_id":"MDQ6VXNlcjMxODIwOA==","avatar_url":"https://avatars2.githubusercontent.com/u/318208?v=4","gravatar_id":"","url":"https://api.github.com/users/koddsson","html_url":"https://github.com/koddsson","followers_url":"https://api.github.com/users/koddsson/followers","following_url":"https://api.github.com/users/koddsson/following{/other_user}","gists_url":"https://api.github.com/users/koddsson/gists{/gist_id}","starred_url":"https://api.github.com/users/koddsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koddsson/subscriptions","organizations_url":"https://api.github.com/users/koddsson/orgs","repos_url":"https://api.github.com/users/koddsson/repos","events_url":"https://api.github.com/users/koddsson/events{/privacy}","received_events_url":"https://api.github.com/users/koddsson/received_events","type":"User","site_admin":true},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-11-09T15:00:14Z","updated_at":"2018-11-30T15:58:49Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/github/webpack-config-github/pulls/27","html_url":"https://github.com/github/webpack-config-github/pull/27","diff_url":"https://github.com/github/webpack-config-github/pull/27.diff","patch_url":"https://github.com/github/webpack-config-github/pull/27.patch"},"body":"[`react-relay-networkd-modern`](https://github.com/relay-tools/react-relay-network-modern) needs to read `.mjs` for some reason. And I would like to use it in my project. The README instructs me to add this to my webpack config but `webpack-config-github` doesn't read it:\r\n\r\n```sh\r\nresolve: {\r\n extensions: ['.mjs', '.js']\r\n}\r\n```\r\n\r\nThis patch allows users of this package to pass in a `resolve` value and will make sure `resolve.mainFields` includes the correct values in addition to whatever the user supplied."},"comment":{"url":"https://api.github.com/repos/github/webpack-config-github/issues/comments/443249105","html_url":"https://github.com/github/webpack-config-github/pull/27#issuecomment-443249105","issue_url":"https://api.github.com/repos/github/webpack-config-github/issues/27","id":443249105,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MzI0OTEwNQ==","user":{"login":"koddsson","id":318208,"node_id":"MDQ6VXNlcjMxODIwOA==","avatar_url":"https://avatars2.githubusercontent.com/u/318208?v=4","gravatar_id":"","url":"https://api.github.com/users/koddsson","html_url":"https://github.com/koddsson","followers_url":"https://api.github.com/users/koddsson/followers","following_url":"https://api.github.com/users/koddsson/following{/other_user}","gists_url":"https://api.github.com/users/koddsson/gists{/gist_id}","starred_url":"https://api.github.com/users/koddsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koddsson/subscriptions","organizations_url":"https://api.github.com/users/koddsson/orgs","repos_url":"https://api.github.com/users/koddsson/repos","events_url":"https://api.github.com/users/koddsson/events{/privacy}","received_events_url":"https://api.github.com/users/koddsson/received_events","type":"User","site_admin":true},"created_at":"2018-11-30T15:58:49Z","updated_at":"2018-11-30T15:58:49Z","author_association":"CONTRIBUTOR","body":"Once my relay-compiler PR is merged and we get out of this dependency hell I can merge make a test, merge this and make another PR to resolve `.ts` and `.tsx` files as well."}}
{"actor":{"display_login":"koddsson"}}