refactor(desktop-electron): enable contextIsolation and sandbox (#23523)

This commit is contained in:
Brendan Allan
2026-04-21 12:38:59 +08:00
committed by GitHub
parent c8fdd1f57d
commit c99ff0e23b
10 changed files with 55 additions and 54 deletions
@@ -53,6 +53,10 @@ export default defineConfig({
build: {
rollupOptions: {
input: { index: "src/preload/index.ts" },
output: {
format: "cjs",
entryFileNames: "[name].js",
},
},
},
},