pack: only install extension in debug mode

This commit is contained in:
leejooy96 committed 2023-10-24 18:01:04 +09:00
1 parent 6faea38cc3
commit d630a82dec
4 files changed
+13 -7

No files matched your search

+1 -1
View File
@@ -45,7 +45,7 @@ export default defineConfig(() => {
// Docs: https://github.com/electron-vite/vite-plugin-electron
ElectronPlugin([
{
entry: ['src/main/index.ts'],
entry: ['src/main/index.ts', 'src/main/index.dev.ts'],
onstart: (options) => {
options.startup()
},