{"action":"created","issue":{"url":"https://api.github.com/repos/easy-webpack/config-env-development/issues/1","repository_url":"https://api.github.com/repos/easy-webpack/config-env-development","labels_url":"https://api.github.com/repos/easy-webpack/config-env-development/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/easy-webpack/config-env-development/issues/1/comments","events_url":"https://api.github.com/repos/easy-webpack/config-env-development/issues/1/events","html_url":"https://github.com/easy-webpack/config-env-development/issues/1","id":162634195,"number":1,"title":"Backend API proxy","user":{"login":"bsrdjan","id":1697847,"avatar_url":"https://avatars.githubusercontent.com/u/1697847?v=3","gravatar_id":"","url":"https://api.github.com/users/bsrdjan","html_url":"https://github.com/bsrdjan","followers_url":"https://api.github.com/users/bsrdjan/followers","following_url":"https://api.github.com/users/bsrdjan/following{/other_user}","gists_url":"https://api.github.com/users/bsrdjan/gists{/gist_id}","starred_url":"https://api.github.com/users/bsrdjan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsrdjan/subscriptions","organizations_url":"https://api.github.com/users/bsrdjan/orgs","repos_url":"https://api.github.com/users/bsrdjan/repos","events_url":"https://api.github.com/users/bsrdjan/events{/privacy}","received_events_url":"https://api.github.com/users/bsrdjan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-28T08:51:31Z","updated_at":"2016-06-28T09:02:10Z","closed_at":null,"body":"Is it or will be supported passing the proxy configuration to the dev server ? \r\n\r\nSomething like:\r\n```javascript\r\nexport = function development({devtool = 'cheap-module-inline-source-map'} = {}, proxy = {}) {\r\n\r\n      devServer: {\r\n        port: this.metadata.port,\r\n        host: this.metadata.host,\r\n        proxy: proxy\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/easy-webpack/config-env-development/issues/comments/228992822","html_url":"https://github.com/easy-webpack/config-env-development/issues/1#issuecomment-228992822","issue_url":"https://api.github.com/repos/easy-webpack/config-env-development/issues/1","id":228992822,"user":{"login":"niieani","id":563469,"avatar_url":"https://avatars.githubusercontent.com/u/563469?v=3","gravatar_id":"","url":"https://api.github.com/users/niieani","html_url":"https://github.com/niieani","followers_url":"https://api.github.com/users/niieani/followers","following_url":"https://api.github.com/users/niieani/following{/other_user}","gists_url":"https://api.github.com/users/niieani/gists{/gist_id}","starred_url":"https://api.github.com/users/niieani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niieani/subscriptions","organizations_url":"https://api.github.com/users/niieani/orgs","repos_url":"https://api.github.com/users/niieani/repos","events_url":"https://api.github.com/users/niieani/events{/privacy}","received_events_url":"https://api.github.com/users/niieani/received_events","type":"User","site_admin":false},"created_at":"2016-06-28T09:02:10Z","updated_at":"2016-06-28T09:02:10Z","body":"We could support this, but it might be easier for you just to override the proxy in the `generateConfig` call.\r\nFor example:\r\n\r\n```js\r\n    config = generateConfig(\r\n      baseConfig,\r\n\r\n      require('@easy-webpack/config-env-development')(),\r\n      require('@easy-webpack/config-html')(),\r\n\r\n      { devServer: { proxy: MY_SETTING_HERE } }\r\n    );\r\n```\r\n"}}
{"actor":{"display_login":"niieani"}}