import { ipcRenderer } from 'electron' produces this error: __dirname is not defined 阅读更多 关于 import { ipcRenderer } from 'electron' produces this error: __dirname is not defined 来源: https://stackoverflow.com/questions/63343205/import-ipcrenderer-from-electron-produces-this-error-dirname-is-not-def