From 7e798c564bc2c59e5e27d401d007abc3a6037dc9 Mon Sep 17 00:00:00 2001 From: "Sipsuru (Dragon Patches)" Date: Sun, 10 Nov 2024 23:57:07 +0530 Subject: [PATCH] Update electron.vite.config.mjs --- electron.vite.config.mjs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/electron.vite.config.mjs b/electron.vite.config.mjs index 3acc2e8..87663c2 100644 --- a/electron.vite.config.mjs +++ b/electron.vite.config.mjs @@ -1,11 +1,11 @@ -import { defineConfig, externalizeDepsPlugin } from 'electron-vite' +import { defineConfig, externalizeDepsPlugin, bytecodePlugin } from 'electron-vite' export default defineConfig({ main: { - plugins: [externalizeDepsPlugin()] + plugins: [externalizeDepsPlugin(), bytecodePlugin()] }, preload: { - plugins: [externalizeDepsPlugin()] + plugins: [externalizeDepsPlugin(), bytecodePlugin()] }, renderer: {} })