aelbore / esbuild-jest

A Jest transformer using esbuild
519 stars 51 forks source link

Fails when there are comments in the tsconfig.json or when the tsconfig target is not supported by esbiuld #10

Closed remorses closed 3 years ago

remorses commented 3 years ago

You are parsing the tsconfig with JSON.parse but it is common to have comments in tsconfig files

You also assume all the tsconfig target values are also valid in esbuild, which is not the case

aelbore commented 3 years ago

@remorses thanks for this, please install esbuild-jest@0.3.0 with esbuild@latest I added some options in-case someone needs it.

aelbore commented 3 years ago

@remorses thanks for this. if you still encounter issue please create another one.