Created by: suppayami
This pull request adds an environment variable WEBPACK_TARGET to change webpack target to something other than web (See https://webpack.js.org/configuration/target/). If no target is set, it will use default target web.
The purpose of this change is to support Electron.js and Node-webkit without ejecting or unnecessary fork.