Closed ylc395 closed 1 month ago
exposeElectronTRPC import contextBridge, which is not available in main process. This cause a fatal error when users import electron-trpc/main.mjs in main process:
exposeElectronTRPC
contextBridge
electron-trpc/main.mjs
Have you found a solution? I'm having the same issue.
exposeElectronTRPC
importcontextBridge
, which is not available in main process. This cause a fatal error when users importelectron-trpc/main.mjs
in main process: