Any jscodeshift or recast experts out there? I am trying to use these to split up JS files and could use some help
Thanks! Some very early results: https://github.com/southpolesteve/esm-refactor/blob/master/index.js#L14-L39 … We'll see where this goes...
-
-
AST stuff is always a bit ugly, with at(0) lookups and stuff. But looks like you're on the right track. As far as I understand, now you've to implement the actual filter transform which will put the export code into the files you've created.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.