Closed gustavopch closed 3 years ago
Currently, esbuild-jest-transform crashes when jest.esbuild.js doesn't exist. So it must exist even if only to contain module.exports = {}. The problem is here: https://github.com/AkifumiSato/esbuild-jest-transform/blob/ae425365a06dba3d357b72251f990de70c7071ae/index.ts#L7 I think it could use {} as the default config when that file doesn't exist.
esbuild-jest-transform
jest.esbuild.js
module.exports = {}
{}
@gustavopch Fixed in v1.0.8. Thank you for pointing out!
Currently,
esbuild-jest-transform
crashes whenjest.esbuild.js
doesn't exist. So it must exist even if only to containmodule.exports = {}
. The problem is here: https://github.com/AkifumiSato/esbuild-jest-transform/blob/ae425365a06dba3d357b72251f990de70c7071ae/index.ts#L7 I think it could use{}
as the default config when that file doesn't exist.