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 {
|
function getElectronNodeTarget(electronVer: string): string {
|
||||||
const nodeVer = {
|
const nodeVer = {
|
||||||
|
'20': '16.15',
|
||||||
'19': '16.14',
|
'19': '16.14',
|
||||||
'18': '16.13',
|
'18': '16.13',
|
||||||
'17': '16.13',
|
'17': '16.13',
|
||||||
|
@ -338,6 +339,7 @@ function getElectronNodeTarget(electronVer: string): string {
|
||||||
|
|
||||||
function getElectronChromeTarget(electronVer: string): string {
|
function getElectronChromeTarget(electronVer: string): string {
|
||||||
const chromeVer = {
|
const chromeVer = {
|
||||||
|
'20': '104',
|
||||||
'19': '102',
|
'19': '102',
|
||||||
'18': '100',
|
'18': '100',
|
||||||
'17': '98',
|
'17': '98',
|
||||||
|
|
Loading…
Reference in a new issue