Open henrikvtcodes opened 9 months ago
Did this work when you tested it?
I'll be honest - I haven't tested this. I will do so and update the PR once I have. I am sure you're right about it being not quite as simple as just adding it to the indentifierMappings
object.
@henrikvtcodes ok no worries! I have no idea what your background is, so in case you haven't worked on a babel plugin before, I found this video with Laurie Barth to be super helpful: https://youtu.be/aK6n0pYcOe8 She also shows how to use that AST Explorer tool that I sent a link to.
If you get stuck or discouraged or anything, comment back on this PR and we can all try to figure it out together.
This PR is inspired by this tweet proposing the best glowup for try/catch syntax.