-
Notifications
You must be signed in to change notification settings - Fork 477
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR, this looks excellent!
Co-authored-by: Ville Immonen <ville.immonen@iki.fi>
Co-authored-by: Ville Immonen <ville.immonen@iki.fi>
Thanks for the review @fson! Pushed the requested changes 🙌 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
@cruzach would you like to check this out before merging? It should work with sentry-expo
for self-hosted projects.
thanks @vernondegoede this is awesome to have! one question- should we warn if the postExport hook is being run without the |
That’s a good point @cruzach. I think rather than warning, we should always pass the source maps to expo-cli/packages/xdl/src/Project.ts Line 692 in d0a6921
|
… argument is passed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @vernondegoede!
@fson @cruzach I'm currently testing the Logs:
Anything that should be updated? |
We would like to upload our sourcemaps to Sentry after creating an export. Since we don't publish our assets to Expo (we just create a local CDN, export our assets and then generate a build using Turtle), we cannot rely on the existing
postPublish
hook.As @fson mentioned in #298 (comment), it would be nice to have a
postExport
hook.Testing
I tested this locally by running:
Outcome (left some stuff out intentionally):