NX - Angular - Generating paths - tsconfig.base.json

Discussão em 'Angular' iniciado por omikron, Outubro 28, 2024.

  1. omikron

    omikron Guest

    I have a question regarding path generation in NX. When I run the following command:

    nx generate @nx/angular:library libs/navigation/feature/tabs

    I get the following entry in tsconfig.base.json:

    "@app/tabs": ["libs/navigation/feature/tabs/src/index.ts"],

    However, I expected the result to be:

    "@app/navigation/feature/tabs": ["libs/navigation/feature/tabs/src/index.ts"],

    I would like to know how I can achieve this expected result without having to modify it manually.

    Thank you!

    Continue reading...

Compartilhe esta Página