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 4964ce480c
commit eb9906420f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 55 additions and 54 deletions

View file

@ -53,6 +53,10 @@ export default defineConfig({
build: {
rollupOptions: {
input: { index: "src/preload/index.ts" },
output: {
format: "cjs",
entryFileNames: "[name].js",
},
},
},
},