mirror of
https://github.com/alex8088/electron-vite.git
synced 2026-06-05 21:43:50 +08:00
perf: build compatibility target for Electron 40, 41
This commit is contained in:
parent
5a8bbe3d0e
commit
78a117d5be
@ -69,6 +69,8 @@ export function getElectronNodeTarget(): string {
|
||||
const electronVer = getElectronMajorVer()
|
||||
|
||||
const nodeVer = {
|
||||
'41': '24.14',
|
||||
'40': '24.14',
|
||||
'39': '22.20',
|
||||
'38': '22.19',
|
||||
'37': '22.16',
|
||||
@ -100,6 +102,8 @@ export function getElectronChromeTarget(): string {
|
||||
const electronVer = getElectronMajorVer()
|
||||
|
||||
const chromeVer = {
|
||||
'41': '146',
|
||||
'40': '144',
|
||||
'39': '142',
|
||||
'38': '140',
|
||||
'37': '138',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user