pack: vutron now uses the vite compiler

This commit is contained in:
leejooy96 committed 2022-10-06 10:26:30 +09:00
1 parent fce96211ba
commit 02b13d8fb7
30 files changed
+2064 -11005

No files matched your search

+3 -3
View File
@@ -1,8 +1,8 @@
import { platform } from 'os'
import { join } from 'path'
export default class Constants {
static APP_NAME = 'Vutron'
static APP_ICON = 'app-icon.png'
static IS_DEV_ENV = process.env.NODE_ENV === 'development'
@@ -15,6 +15,6 @@ export default class Constants {
enableRemoteModule: true
}
static APP_INDEX_URL_DEV = 'http://localhost:9080/index.html'
static APP_INDEX_URL_PROD = './dist/electron/index.html'
static APP_INDEX_URL_DEV = 'http://localhost:5173/index.html'
static APP_INDEX_URL_PROD = join(__dirname, '../index.html')
}