mirror of
https://github.com/alex8088/electron-vite.git
synced 2025-08-10 13:09:47 +08:00
perf: build compatilibity target for Electron 32
This commit is contained in:
parent
02e0dff9f4
commit
bf1220875f
@ -69,6 +69,7 @@ export function getElectronNodeTarget(): string {
|
|||||||
const electronVer = getElectronMajorVer()
|
const electronVer = getElectronMajorVer()
|
||||||
|
|
||||||
const nodeVer = {
|
const nodeVer = {
|
||||||
|
'32': '20.16',
|
||||||
'31': '20.14',
|
'31': '20.14',
|
||||||
'30': '20.11',
|
'30': '20.11',
|
||||||
'29': '20.9',
|
'29': '20.9',
|
||||||
@ -101,6 +102,7 @@ export function getElectronChromeTarget(): string {
|
|||||||
const electronVer = getElectronMajorVer()
|
const electronVer = getElectronMajorVer()
|
||||||
|
|
||||||
const chromeVer = {
|
const chromeVer = {
|
||||||
|
'32': '128',
|
||||||
'31': '126',
|
'31': '126',
|
||||||
'30': '124',
|
'30': '124',
|
||||||
'29': '122',
|
'29': '122',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user