etroynov / esbuild-jest

A Jest transformer using esbuild
https://github.com/etroynov/esbuild-jest
MIT License
1 stars 2 forks source link

Support esbuild options #1

Open etroynov opened 7 months ago

etroynov commented 7 months ago

Current implementation:

Solution

Discussion

$ jest --clearCache && jest --detectOpenHandles                                                                                                                                   
Cleared /private/var/folders/b2/_t0w_hyn6jz28xm301k2qp81c9b83j/T/jest_okufzl
jest-haste-map: Haste module naming collision: esbuild-jest
  The following files share their name; please adjust your hasteImpl:
    * <rootDir>/package.json
    * <rootDir>/dist/package.json

this is because the build step symlinks the dist folder. there's certainly ways around that, but FYI, I had to test like CI tests :)

Original PR

https://github.com/aelbore/esbuild-jest/pull/29

Author

Christopher Dieringer - @cdaringe

andidev commented 2 weeks ago

any possibilities of merging this soon?