mirror of
https://github.com/alex8088/electron-vite.git
synced 2025-04-25 03:00:24 +08:00
perf: build compatilibity target for Electron 24
This commit is contained in:
parent
3b2ba0ae25
commit
a736af835e
@ -59,6 +59,7 @@ export function getElectronNodeTarget(): string {
|
||||
const electronVer = getElectronMajorVer()
|
||||
|
||||
const nodeVer = {
|
||||
'24': '18.14',
|
||||
'23': '18.12',
|
||||
'22': '16.17',
|
||||
'21': '16.16',
|
||||
@ -85,6 +86,7 @@ export function getElectronChromeTarget(): string {
|
||||
const electronVer = getElectronMajorVer()
|
||||
|
||||
const chromeVer = {
|
||||
'24': '112',
|
||||
'23': '110',
|
||||
'22': '108',
|
||||
'21': '106',
|
||||
|
Loading…
x
Reference in New Issue
Block a user