mirror of
https://github.com/LukeHagar/electron-vite.git
synced 2025-12-07 20:37:44 +00:00
perf: build target for Electron 19
This commit is contained in:
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user