Gavin Sharp
                                            Gavin Sharp
                                        
                                    I think this is the same issue as https://github.com/zeit/styled-jsx/issues/500 (caused by https://github.com/thysultan/stylis.js/issues/123).
There's an example of this in the README: https://github.com/aelbore/esbuild-jest/tree/daa5847b3b382d9ddf6cc26e60ad949d202c4461#setting-up-jest-config-file-with-transformoptions `target` is a supported param, so you can pass it the way that `sourcemap` and `loaders` are used in that example.
Oh and thanks for the very useful library, by the way :)
@dmanjunath any chance you could take a look at this?
The issue seems to be that the plugin by default uses an [ESBuild filter](https://esbuild.github.io/plugins/#filters) of [`/.*/`](https://github.com/nativew/esbuild-plugin-babel/blob/77fab04d747c7484a805278994afc6e97c8c0bc6/src/index.js#L8). This will result in it trying to Babel transform all files that ESBuild processes,...
Hi @LiKang6688 @danieljbruce, any chance this could get merged? This API being exposed would be helpful.
Since this breaks compat with Babel
I misread the Travis log. Test failures actually appears to be https://github.com/avajs/eslint-plugin-ava/issues/253. It's fixed in `[email protected]`, but that doesn't support Node < 8. I guess I will just disable it...
Ah, but latest Ava (>=2.0) drops support for Node
Side note: thanks to Babel 7's [project-wide configuration](https://babeljs.io/docs/en/config-files#project-wide-configuration), I believe this also kind of fixes #9 (assuming your project has a `babel.config.js`).