Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Add `cloneInputAst` option to `babel.transformFromAst` #10241
nicolo-ribaudo left a comment
This PR makes it way easier to write codemods using recast (which keepts the original formatting). If we clone the AST, then
Without this PR, the only way to make it work is to inject the input AST in a
This pull request is automatically built and testable in CodeSandbox.
To see build info of the built libraries, click here or the icon next to each commit SHA.
Latest deployment of this branch, based on commit 8983fe7: