From 6bc7d6f6e1aa7e3a2a307d0ce928e2ca067149dd Mon Sep 17 00:00:00 2001 From: alex8088 <244096523@qq.com> Date: Sat, 9 Apr 2022 16:24:43 +0800 Subject: [PATCH] perf: build target for Electron 19 --- src/plugin.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/plugin.ts b/src/plugin.ts index b7fb65d..cb62723 100644 --- a/src/plugin.ts +++ b/src/plugin.ts @@ -318,6 +318,7 @@ function getElectronMainVer(root: string): string { function getElectronNodeTarget(electronVer: string): string { const nodeVer = { + '19': '16.14', '18': '16.13', '17': '16.13', '16': '16.9', @@ -335,7 +336,8 @@ function getElectronNodeTarget(electronVer: string): string { function getElectronChromeTarget(electronVer: string): string { const chromeVer = { - '18': '99', + '19': '102', + '18': '100', '17': '98', '16': '96', '15': '94',