Support for loading transformers written in ESM
Hello, thank you for the great tool! 🙂
Recently Jest supports loading transformers written in ESM through the requireOrImportModule util.
It would be great if jest-chain-transform could support such loaders too.
Downside is that this would require createTransformer function to be an async function, which is supported only by Jest >= 29.4, 😢
Noted. will look into this and try to support ESM loader
0.0.6 supports the ESM transformer to be chained.
Jest ESM is still under experiment. Please refer to https://jestjs.io/docs/ecmascript-modules.
An example
Thanks for the good news! :tada: I'll check.