Skip to content

Conversation

@bozaigao
Copy link
Collaborator

Support build for sentry

src/bundle.js Outdated
) {
if (sourcemapOutput) {
const uploadSourcemapPath =
'node_modules/@sentry/cli/bin/sentry-cli';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不能这样直接写路径,要考虑monorepo和其他非典型情况,参考其他取路径的情况,用require.resolve去搜索路径

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.

@sunnylqm sunnylqm merged commit 0b08c77 into reactnativecn:master Jan 23, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants