mirror of
https://github.com/alex8088/electron-vite.git
synced 2025-04-06 04:05:44 +08:00
perf: build target for Electron 20
This commit is contained in:
parent
71dc5fd18b
commit
cec47266bd
@ -320,6 +320,7 @@ function getElectronMainVer(root: string): string {
|
||||
|
||||
function getElectronNodeTarget(electronVer: string): string {
|
||||
const nodeVer = {
|
||||
'20': '16.15',
|
||||
'19': '16.14',
|
||||
'18': '16.13',
|
||||
'17': '16.13',
|
||||
@ -338,6 +339,7 @@ function getElectronNodeTarget(electronVer: string): string {
|
||||
|
||||
function getElectronChromeTarget(electronVer: string): string {
|
||||
const chromeVer = {
|
||||
'20': '104',
|
||||
'19': '102',
|
||||
'18': '100',
|
||||
'17': '98',
|
||||
|
Loading…
x
Reference in New Issue
Block a user