Closed Yajur-Grover closed 3 weeks ago
When trying to build Gallery in Release mode in order to publish the update to 0.75 to the store, was hitting the following error:
Error MSB3073 The command "npx react-native bundle --platform windows --entry-file "index.js" --bundle-output "C:\new-account-repos\react-native-gallery\windows\rngallery\Bundle\index.windows.bundle" --assets-dest "C:\new-account-repos\react-native-gallery\windows\rngallery\Bundle" --dev false --reset-cache --sourcemap-output "C:\new-account-repos\react-native-gallery\windows\x64\Release\rngallery\sourcemaps\react\index.windows.bundle.packager.map" --minify false" exited with code 1. rngallery C:\new-account-repos\react-native-gallery\node_modules\react-native-windows\PropertySheets\Bundle.Common.targets 16 Error The resource C:\new-account-repos\react-native-gallery\index.js was not found. rngallery C:\new-account-repos\react-native-gallery\windows\rngallery\EXEC 1
C:\new-account-repos\react-native-gallery\index.js
This PR updates the <BundleEntryFile> for Gallery from index.js, which is defined by default here. to index.ts.
<BundleEntryFile>
index.js
index.ts
Fix error above to allow store publish.
Edit <BundleEntryFile> to index.ts.
Description
When trying to build Gallery in Release mode in order to publish the update to 0.75 to the store, was hitting the following error:
This PR updates the
<BundleEntryFile>
for Gallery fromindex.js
, which is defined by default here. toindex.ts
.Why
Fix error above to allow store publish.
What
Edit
<BundleEntryFile>
toindex.ts
.Microsoft Reviewers: Open in CodeFlow