webpack-target-electron-renderer
webpack target function for electron renderer
Install
$ npm install webpack-target-electron-renderer
Usage
var webpackTargetElectronRenderer = ; var options = entry: entry output: output module: loaders: loaders devtool: optsdevtool resolve: extensions: extensions packageMains: 'webpack' 'browser' 'web' 'browserify' 'jam' 'main' 'main' optionstarget =
See also electron-react-boilerplate.
API
webpackTargetElectronRenderer(options)
options
Required
Type: object
just like the object that you used to export by webpack.config.js
.
License
MIT © C.T. Lin