perf: build compatilibity target for Electron 21
This commit is contained in:
parent
cf08073f08
commit
c49068258d
|
@ -484,6 +484,7 @@ function getElectronMainVer(root: string): string {
|
||||||
|
|
||||||
function getElectronNodeTarget(electronVer: string): string {
|
function getElectronNodeTarget(electronVer: string): string {
|
||||||
const nodeVer = {
|
const nodeVer = {
|
||||||
|
'21': '16.16',
|
||||||
'20': '16.15',
|
'20': '16.15',
|
||||||
'19': '16.14',
|
'19': '16.14',
|
||||||
'18': '16.13',
|
'18': '16.13',
|
||||||
|
@ -503,6 +504,7 @@ function getElectronNodeTarget(electronVer: string): string {
|
||||||
|
|
||||||
function getElectronChromeTarget(electronVer: string): string {
|
function getElectronChromeTarget(electronVer: string): string {
|
||||||
const chromeVer = {
|
const chromeVer = {
|
||||||
|
'21': '106',
|
||||||
'20': '104',
|
'20': '104',
|
||||||
'19': '102',
|
'19': '102',
|
||||||
'18': '100',
|
'18': '100',
|
||||||
|
|
Loading…
Reference in a new issue