From 5d6e2c7d366706e7f856cc730537cc40fc860eea Mon Sep 17 00:00:00 2001 From: minizzang Date: Tue, 12 Nov 2024 21:55:52 +0900 Subject: [PATCH] Fix sourcemap output filename --- cli/script/command-executor.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/script/command-executor.ts b/cli/script/command-executor.ts index 97d369e..8a7ac0e 100644 --- a/cli/script/command-executor.ts +++ b/cli/script/command-executor.ts @@ -1326,8 +1326,8 @@ export const releaseReact = (command: cli.IReleaseReactCommand): Promise = ? Q(command.appStoreVersion) : getReactNativeProjectAppVersion(command, projectName); - if (command.outputDir) { - command.sourcemapOutput = path.join(command.outputDir, bundleName + ".map"); + if (command.sourcemapOutput) { + command.sourcemapOutput = path.join(command.sourcemapOutput, bundleName + ".map"); } return appVersionPromise;