electron-ipc-module
    Preparing search index...

    Function runIpcBridgeGeneration

    • Analyze the IPC modules and (re)write the typed preload bridge.

      The file is only written when its contents change, so it is safe to call on every rebuild. Returns whether it changed, the generated code, the analyzed modules, and the resolved outFile path.

      Parameters

      Returns {
          changed: boolean;
          code: string;
          modules: AnalyzedIpcModule[];
          outFile: string;
      }