fix: handle electron script errors better (#25328)
This commit is contained in:
parent
29c1248e96
commit
4ad9bcb8b5
8 changed files with 52 additions and 16 deletions
|
@ -2,5 +2,6 @@ module.exports = require('./webpack.config.base')({
|
|||
target: 'renderer',
|
||||
alwaysHasNode: true,
|
||||
targetDeletesNodeGlobals: true,
|
||||
wrapInitWithProfilingTimeout: true
|
||||
wrapInitWithProfilingTimeout: true,
|
||||
wrapInitWithTryCatch: true
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue