mirror of
https://github.com/alex8088/electron-vite.git
synced 2025-04-06 04:05:44 +08:00
perf: build target for Electron 19
This commit is contained in:
parent
c62b2df0b7
commit
6bc7d6f6e1
@ -318,6 +318,7 @@ function getElectronMainVer(root: string): string {
|
|||||||
|
|
||||||
function getElectronNodeTarget(electronVer: string): string {
|
function getElectronNodeTarget(electronVer: string): string {
|
||||||
const nodeVer = {
|
const nodeVer = {
|
||||||
|
'19': '16.14',
|
||||||
'18': '16.13',
|
'18': '16.13',
|
||||||
'17': '16.13',
|
'17': '16.13',
|
||||||
'16': '16.9',
|
'16': '16.9',
|
||||||
@ -335,7 +336,8 @@ function getElectronNodeTarget(electronVer: string): string {
|
|||||||
|
|
||||||
function getElectronChromeTarget(electronVer: string): string {
|
function getElectronChromeTarget(electronVer: string): string {
|
||||||
const chromeVer = {
|
const chromeVer = {
|
||||||
'18': '99',
|
'19': '102',
|
||||||
|
'18': '100',
|
||||||
'17': '98',
|
'17': '98',
|
||||||
'16': '96',
|
'16': '96',
|
||||||
'15': '94',
|
'15': '94',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user