fix(preload): keep zod out of sandbox bundle

This commit is contained in:
ZacharyZhang-NY committed 2026-04-22 18:31:24 -04:00
1 parent fa006524c2
commit 710448a75f
4 files changed
+19 -7

No files matched your search

+3 -3
View File
@@ -1,11 +1,11 @@
import { contextBridge, ipcRenderer } from "electron";
import { IPC_CHANNELS } from "@shared/contracts/channels";
import type { DesktopApi } from "@shared/contracts/desktop-api";
import {
IPC_CHANNELS,
PRELOAD_FORWARDERS,
mapPreloadInvokeArgs,
type DesktopApi,
type PreloadForwardedApi,
} from "@shared/contracts";
} from "@shared/contracts/preload-forwarders";
import type { DesktopEvent } from "@shared/types";
function createForwardedApi(): PreloadForwardedApi {