michael42

Results 14 comments of michael42

Maybe you can work around that by using a [slightly different @PURE comment](https://github.com/terser/terser/issues/513#issuecomment-554685420) that uses an IIFE? ```js export const library_function = /* @__PURE__*/ (() => catch_errors(() => { console.log("I...

Workaround: You can use `node --loader ts-node/esm file.ts` instead of `ts-node --esm file.ts` (which causes a `ExperimentalWarning: --experimental-loader may be removed in the future`). It would be great if `ts-node`...

I don't think I get what you're saying, here's a [reproduction repo](https://github.com/michael42/ts-jest-cts), maybe that helps. There, you can easily see, that jest supports `.cjs` just fine. One can import `.cjs`...

What are you suggesting exactly? When jest is configured to call `ts-jest`, to transform the source (`.cts`) to JavaScript, but `ts-jest` only prints a warning and does not transform the...