{"comment":{"url":"https://api.github.com/repos/survivejs/webpack_react/comments/11041448","html_url":"https://github.com/survivejs/webpack_react/commit/f2f4b35c081c3b6c5c3cd0b9cf32e138311dce3d#commitcomment-11041448","id":11041448,"user":{"login":"bebraw","id":166921,"avatar_url":"https://avatars.githubusercontent.com/u/166921?v=3","gravatar_id":"","url":"https://api.github.com/users/bebraw","html_url":"https://github.com/bebraw","followers_url":"https://api.github.com/users/bebraw/followers","following_url":"https://api.github.com/users/bebraw/following{/other_user}","gists_url":"https://api.github.com/users/bebraw/gists{/gist_id}","starred_url":"https://api.github.com/users/bebraw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bebraw/subscriptions","organizations_url":"https://api.github.com/users/bebraw/orgs","repos_url":"https://api.github.com/users/bebraw/repos","events_url":"https://api.github.com/users/bebraw/events{/privacy}","received_events_url":"https://api.github.com/users/bebraw/received_events","type":"User","site_admin":false},"position":4,"line":220,"path":"manuscript/03_developing_with_webpack.md","commit_id":"f2f4b35c081c3b6c5c3cd0b9cf32e138311dce3d","created_at":"2015-05-05T09:59:10Z","updated_at":"2015-05-05T09:59:10Z","body":"@af7 The problem with the solution I proposed that env variables are per process in Node. This means the Webpack configuration couldn't see it even if I set it (separate process). As a workaround you can try `set TARGET=build && webpack` kind of script. I added a warning about this at the book.\r\n\r\nBy the way, I simplified the configuration as promised. There's no need for `--config` anymore."}}