add resolveElectron link
This commit is contained in:
parent
6ee9b8ce18
commit
4e07560a17
|
@ -30,7 +30,8 @@ export default defineConfig({
|
|||
},
|
||||
})
|
||||
|
||||
// ----------------- For use Electron, NodeJs in Renderer-process -----------------
|
||||
// ------- For use Electron, NodeJs in Renderer-process -------
|
||||
// https://github.com/caoxiemeihao/electron-vue-vite/issues/52
|
||||
export function resolveElectron(): Plugin[] {
|
||||
const builtins = builtinModules.filter(t => !t.startsWith('_'))
|
||||
|
||||
|
|
Loading…
Reference in New Issue