mirror of
https://github.com/alex8088/electron-vite.git
synced 2026-11-02 14:51:51 +08:00
perf: build compatibility target for Electron 42, 43, 44
This commit is contained in:
parent
e691efbd82
commit
8df70754ca
@ -69,6 +69,9 @@ export function getElectronNodeTarget(): string {
|
|||||||
const electronVer = getElectronMajorVer()
|
const electronVer = getElectronMajorVer()
|
||||||
|
|
||||||
const nodeVer = {
|
const nodeVer = {
|
||||||
|
'44': '24.18',
|
||||||
|
'43': '24.17',
|
||||||
|
'42': '24.15',
|
||||||
'41': '24.14',
|
'41': '24.14',
|
||||||
'40': '24.14',
|
'40': '24.14',
|
||||||
'39': '22.20',
|
'39': '22.20',
|
||||||
@ -102,6 +105,9 @@ export function getElectronChromeTarget(): string {
|
|||||||
const electronVer = getElectronMajorVer()
|
const electronVer = getElectronMajorVer()
|
||||||
|
|
||||||
const chromeVer = {
|
const chromeVer = {
|
||||||
|
'44': '152',
|
||||||
|
'43': '150',
|
||||||
|
'42': '148',
|
||||||
'41': '146',
|
'41': '146',
|
||||||
'40': '144',
|
'40': '144',
|
||||||
'39': '142',
|
'39': '142',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user