Is there a way to mix the esbuild-loader and ts-loader? So that all .ts
files are compiled with esbuild - except if there are decorators in the file then the files are compiled with tsc?
Asked
Active
Viewed 460 times
0

Thomaschaaf
- 17,847
- 32
- 94
- 128
1 Answers
1
The author of this question ended up creating an esbuild plugin to do this: https://github.com/thomaschaaf/esbuild-plugin-tsc. See also this discussion thread for implementation considerations: https://github.com/evanw/esbuild/issues/915.

constexpr
- 1,021
- 10
- 7