pack: vutron now uses typescript

This commit is contained in:
leejooy96 committed 2022-10-18 11:08:55 +09:00
1 parent 30b0676f13
commit 5a4fa9a981
25 files changed
+580 -26

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
import { join } from 'path'
export default class Constants {
static APP_NAME = 'Vutron'
static IS_DEV_ENV = process.env.NODE_ENV === 'development'
static IS_MAC = process.platform === 'darwin'
static DEFAULT_WEB_PREFERENCES = {
nodeIntegration: true,
contextIsolation: false,
nodeIntegrationInWorker: true,
enableRemoteModule: true
}
static APP_INDEX_URL_DEV = 'http://localhost:5173/index.html'
static APP_INDEX_URL_PROD = join(__dirname, '../index.html')
}