mirror of
https://github.com/LukeHagar/electron-vite.git
synced 2025-12-06 12:27:44 +00:00
perf: build compatilibity target for Electron 23
This commit is contained in:
@@ -59,6 +59,7 @@ export function getElectronNodeTarget(): string {
|
||||
const electronVer = getElectronMajorVer()
|
||||
|
||||
const nodeVer = {
|
||||
'23': '18.12',
|
||||
'22': '16.17',
|
||||
'21': '16.16',
|
||||
'20': '16.15',
|
||||
@@ -84,6 +85,7 @@ export function getElectronChromeTarget(): string {
|
||||
const electronVer = getElectronMajorVer()
|
||||
|
||||
const chromeVer = {
|
||||
'23': '110',
|
||||
'22': '108',
|
||||
'21': '106',
|
||||
'20': '104',
|
||||
|
||||
Reference in New Issue
Block a user