Skip to content
Source
Sign inSign up

WebviewPreferences.ts

3 lines219 Bytes

1/** sandbox:true is required with contextIsolation:false or the shared page global would expose Node and IPC. */
2export const PREVIEW_WEBVIEW_PREFERENCES =
3 "contextIsolation=false,sandbox=true,nodeIntegration=false";