From 66d20fc91d95587212c81f8773a4a78a38a95dc3 Mon Sep 17 00:00:00 2001 From: meteorlxy Date: Thu, 21 Dec 2023 08:56:58 +0800 Subject: [PATCH] feat(cli): update config file build target to node18 --- packages/cli/src/config/loadUserConfig.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/src/config/loadUserConfig.ts b/packages/cli/src/config/loadUserConfig.ts index 66fd1fafe0..ff796865fa 100644 --- a/packages/cli/src/config/loadUserConfig.ts +++ b/packages/cli/src/config/loadUserConfig.ts @@ -28,7 +28,7 @@ export const loadUserConfig = async ( entryPoints: [userConfigPath], outfile: 'out.js', write: false, - target: ['node14.18', 'node16'], + target: ['node18'], platform: 'node', bundle: true, format: 'esm',