-
Say I'm using CoffeeScript or another language that compiles to JS/TS alongside TypeScript. How do I configure I've already configured esbuild to handle it (register a custom plugin) but I can't figure out how to hook in to the ts-node loader at the correct point to let ts-node find them. // a.mts
import b from "./b.mts"
console.log(b)
import c from "./c.coffee"
console.log(c) // b.mts
export default "typescript" export default "coffee" {
"compilerOptions": {
"module": "esnext",
"moduleResolution": "node",
"allowJs": true
}
}
Any hints or tips? |
Beta Was this translation helpful? Give feedback.
Answered by
STRd6
Sep 13, 2022
Replies: 1 comment
-
I got some help in the discord with the recommendation to use |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
STRd6
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I got some help in the discord with the recommendation to use
transpileOnly
. This fixes the imports but at the cost of skipping out on typechecking the imports.