mirror of
https://github.com/alex8088/electron-vite.git
synced 2025-05-22 04:39:16 +08:00
perf: build compatibility target for Electron 36 (#766)
This commit is contained in:
parent
1b411d3633
commit
3d5c9f68a1
@ -69,6 +69,7 @@ export function getElectronNodeTarget(): string {
|
|||||||
const electronVer = getElectronMajorVer()
|
const electronVer = getElectronMajorVer()
|
||||||
|
|
||||||
const nodeVer = {
|
const nodeVer = {
|
||||||
|
'36': '22.14',
|
||||||
'35': '22.14',
|
'35': '22.14',
|
||||||
'34': '20.18',
|
'34': '20.18',
|
||||||
'33': '20.18',
|
'33': '20.18',
|
||||||
@ -103,6 +104,7 @@ export function getElectronChromeTarget(): string {
|
|||||||
const electronVer = getElectronMajorVer()
|
const electronVer = getElectronMajorVer()
|
||||||
|
|
||||||
const chromeVer = {
|
const chromeVer = {
|
||||||
|
'36': '136',
|
||||||
'35': '134',
|
'35': '134',
|
||||||
'34': '132',
|
'34': '132',
|
||||||
'33': '130',
|
'33': '130',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user