Skip to content

Commit

Permalink
add documentation note about tsconfig-paths and esm
Browse files Browse the repository at this point in the history
Fixes #2403
  • Loading branch information
davidjgoss committed May 16, 2024
1 parent c3435b8 commit 2990fe4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/transpiling.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ You then just need to specify the `import` option as above for your support code

(This approach is no longer recommended, and you might see a warning from Node.js telling you so.)

### tsconfig-paths

It's not unusual for people to use some path remapping and [`tsconfig-paths`](https://www.npmjs.com/package/tsconfig-paths) as part of their TypeScript setup. See [this open issue](https://github.com/dividab/tsconfig-paths/issues/243) regarding ESM support in that library.

## Source maps

Source maps are used to ensure accurate source references and stack traces in Cucumber's reporting, by giving traceability from a transpiled piece of code back to the original source code.
Expand Down

0 comments on commit 2990fe4

Please sign in to comment.