Wednesday 26 February 2020

Can someone explain to me how Electron exports itself?

Probably a noob question. In node_modules/electron/index.js ( screenshot ), how does Electron export its modules? From what I can tell, it's just exporting a string.How can const {dialog} = require('electron') work if all it exports is a string?

Submitted February 26, 2020 at 07:28PM by abandonplanetearth

No comments:

Post a Comment