mirror of
https://github.com/electron-vite/electron-vite-vue
synced 2025-01-31 20:16:36 +08:00
add resolveElectron link
This commit is contained in:
parent
9b1bf2d8b7
commit
f360a5e732
@ -24,7 +24,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[] {
|
export function resolveElectron(): Plugin[] {
|
||||||
const builtins = builtinModules.filter(t => !t.startsWith('_'))
|
const builtins = builtinModules.filter(t => !t.startsWith('_'))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user