fix: importing from electron/utility in ESM (#47998)
This commit is contained in:
parent
a201d6c541
commit
d6c0691a63
22 changed files with 228 additions and 7 deletions
3
spec/fixtures/api/utility-process/electron-modules/require-renderer.js
vendored
Normal file
3
spec/fixtures/api/utility-process/electron-modules/require-renderer.js
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
const { net } = require('electron/renderer');
|
||||
|
||||
process.exit(net !== undefined ? 0 : 1);
|
||||
Loading…
Add table
Add a link
Reference in a new issue