Skip to content

Commit

Permalink
Fix sourcemap output filename
Browse files Browse the repository at this point in the history
  • Loading branch information
minizzang committed Nov 12, 2024
1 parent 6cf36d8 commit 5d6e2c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/script/command-executor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1326,8 +1326,8 @@ export const releaseReact = (command: cli.IReleaseReactCommand): Promise<void> =
? 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;
Expand Down

0 comments on commit 5d6e2c7

Please sign in to comment.