I found the plugin reading tsconfig with fs.promises.readFile('tsconfig.json'), so I have to use process.chdir(...) to specify the tsconfig file I want.
It will be nice if the plugin reads the tsconfig file according to the tsconfig option of esbuild.
I found the plugin reading tsconfig with
fs.promises.readFile('tsconfig.json')
, so I have to useprocess.chdir(...)
to specify the tsconfig file I want.It will be nice if the plugin reads the tsconfig file according to the
tsconfig
option of esbuild.