[x] I've added an entry to CHANGELOG.md if necessary.
Why
While the current hook works just fine, attempting to manually execute it when the sourcemaps for only one platform have been dumped & are being used in the hook, results in an error when trying to write the bundle & map files for the other platform.
How
Check which platform has been specified for the hook before writing bundle & map files.
Checklist
Why
While the current hook works just fine, attempting to manually execute it when the sourcemaps for only one platform have been dumped & are being used in the hook, results in an error when trying to write the bundle & map files for the other platform.
How
Check which platform has been specified for the hook before writing bundle & map files.
Test Plan
Tested by running the hook manually.