Skip to content

Integration with nx

Daniel Perez edited this page Sep 4, 2025 · 5 revisions

For typescript-transform-paths version 4+

See https://nx.dev/technologies/typescript/api/executors/tsc

Use with NX — Add typescript-transform-paths to project config

project.json

{
  /* ... */
  "targets": {
    "build": {
      /* ... */
      "options": {
        /* ... */
        "transformers": [
          {
            "name": "typescript-transform-paths/nx-transformer",
            "options": { "afterDeclarations": true },
          },
        ],
      },
    },
  },
}
Clone this wiki locally