jscodeshift
jscodeshift copied to clipboard
export Runner from jscodeshift
import { Runner } from 'jscodeshift'
can we export Runner from jscodeshift to make it easy to reuse it in API way?
related to https://github.com/facebook/jscodeshift/issues/179
does it make sense to use jest-worker here instead of custom worker processing logic?
Hey @sibelius,
Have you seen this issue? https://github.com/facebook/jscodeshift/issues/398
Seems like it's possible by importing runner like so: const Runner = require('jscodeshift/src/Runner');
Feels like a bit of a hack to me though, it would be great if an official solution was available
Unfortunately, this does not work with esm module projects
Unfortunately, this does not work with esm module projects. Nothing I can do only but destroy my esm project due to this. :(