File tree Expand file tree Collapse file tree 3 files changed +10
-6
lines changed
Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 11import { resolve } from 'path'
2- import { defineConfig , externalizeDepsPlugin } from 'electron-vite'
2+ import { defineConfig } from 'electron-vite'
33import react from '@vitejs/plugin-react'
44import webfontDownload from 'vite-plugin-webfont-dl'
55import svgr from 'vite-plugin-svgr'
66
77export default defineConfig ( {
88 main : {
9- plugins : [ externalizeDepsPlugin ( ) ]
9+ build : {
10+ externalizeDeps : true
11+ }
1012 } ,
1113 preload : {
12- plugins : [ externalizeDepsPlugin ( ) ]
14+ build : {
15+ externalizeDeps : true
16+ }
1317 } ,
1418 renderer : {
1519 resolve : {
@@ -25,4 +29,4 @@ export default defineConfig({
2529 svgr ( )
2630 ]
2731 }
28- } )
32+ } )
Original file line number Diff line number Diff line change 1- const { upAll, downAll } = require ( 'docker-compose/dist/v2 ' )
1+ const { upAll, downAll } = require ( 'docker-compose' )
22const { join } = require ( 'path' )
33
44const containerFolder = join ( __dirname , 'backend' )
Original file line number Diff line number Diff line change 1- import { buildAll , downAll , upAll } from 'docker-compose/dist/v2 '
1+ import { buildAll , downAll , upAll } from 'docker-compose'
22import { execPromise } from '../helpers'
33
44export async function checkDocker ( ) : Promise < { available : boolean ; error : string | null } > {
You can’t perform that action at this time.
0 commit comments