Skip to content

Commit

Permalink
Fix electron crashing bug
Browse files Browse the repository at this point in the history
  • Loading branch information
comountainclimber committed Jul 6, 2021
1 parent c07e93b commit 4cd4de0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/webpack.config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -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")',
Expand Down

0 comments on commit 4cd4de0

Please sign in to comment.