diff --git a/config/webpack.config.prod.js b/config/webpack.config.prod.js index d8a8899da..b1f13cb92 100644 --- a/config/webpack.config.prod.js +++ b/config/webpack.config.prod.js @@ -19,7 +19,7 @@ module.exports = { mode: 'production', bail: true, devtool: false, - target: 'electron-main', + target: 'electron-renderer', entry: ['babel-polyfill', path.join(__dirname, '..', 'app/index.js')], externals: { 'node-hid': 'require("node-hid")',