mirror of
https://github.com/electron-vite/electron-vite-vue
synced 2025-08-26 15:01:18 +08:00
add resolveElectron link
This commit is contained in:
@@ -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[] {
|
||||
const builtins = builtinModules.filter(t => !t.startsWith('_'))
|
||||
|
||||
|
Reference in New Issue
Block a user