Very cool talk Kent! Keep them coming! I noticed that in the Babel plugin example, the old Identifier is not renamed to the new Identifier. `program.scope.rename(name, newIdentifier.name)` should be `path.scope.rename(name, newIdentifier.name)` since we want to rename in the scope of the `getVersion` function. Does that make sense or I missed something?
Ah I guess in the video it's right but if you follow the link to the ASTExplorer, there it's using `program.scope`. astexplorer.net/#/gist/052814252004aeb443a8817adadf35e6/latest
Another great tutorial on a very interesting topic
Very cool talk Kent! Keep them coming!
I noticed that in the Babel plugin example, the old Identifier is not renamed to the new Identifier.
`program.scope.rename(name, newIdentifier.name)` should be `path.scope.rename(name, newIdentifier.name)`
since we want to rename in the scope of the `getVersion` function.
Does that make sense or I missed something?
Ah I guess in the video it's right but if you follow the link to the ASTExplorer, there it's using `program.scope`.
astexplorer.net/#/gist/052814252004aeb443a8817adadf35e6/latest
Antoine Grant yeah, I actually realized that during my talk and fixed it 😅
Still relevant! Thank's Kent. 🙌🏻🙌🏻
Awesome!!! 3q very much!