From cec47266bdbd9f79a55d94e82575cbe9b1a20462 Mon Sep 17 00:00:00 2001 From: alex8088 <244096523@qq.com> Date: Mon, 8 Aug 2022 19:19:49 +0800 Subject: [PATCH] perf: build target for Electron 20 --- src/plugin.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugin.ts b/src/plugin.ts index b0dfb3a..b3d41e9 100644 --- a/src/plugin.ts +++ b/src/plugin.ts @@ -320,6 +320,7 @@ function getElectronMainVer(root: string): string { function getElectronNodeTarget(electronVer: string): string { const nodeVer = { + '20': '16.15', '19': '16.14', '18': '16.13', '17': '16.13', @@ -338,6 +339,7 @@ function getElectronNodeTarget(electronVer: string): string { function getElectronChromeTarget(electronVer: string): string { const chromeVer = { + '20': '104', '19': '102', '18': '100', '17': '98',