We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1dce10 commit 2b3ec02Copy full SHA for 2b3ec02
generator/templates/base/src/background.js
@@ -22,7 +22,8 @@ async function createWindow() {
22
<% } %>
23
// Use pluginOptions.nodeIntegration, leave this alone
24
// See nklayman.github.io/vue-cli-plugin-electron-builder/guide/security.html#node-integration for more info
25
- nodeIntegration: process.env.ELECTRON_NODE_INTEGRATION
+ nodeIntegration: process.env.ELECTRON_NODE_INTEGRATION,
26
+ contextIsolation: !process.env.ELECTRON_NODE_INTEGRATION
27
}
28
})
29
0 commit comments