Closed exequiel09 closed 5 months ago
According to Angular CLI codebase, the type signature of the transform function only includes the HTML and not the target.
In the docs, it includes both.
Target options should be passed as is or align the docs with Angular CLI.
Libs - @angular/core version: 17.3.5 - @angular-devkit/build-angular version: 17.3.5 - @angular-builders/custom-esbuild version: 17.1.2 For Tooling issues: - Node version: 20.10.0 - Platform: Windows
If someone is using Nx, you can use the following environment variables to retrieve it during the transformer execution:
NX_TASK_TARGET_PROJECT
NX_TASK_TARGET_TARGET
NX_TASK_TARGET_CONFIGURATION
Reference: https://nx.dev/reference/environment-variables
Describe the Bug
According to Angular CLI codebase, the type signature of the transform function only includes the HTML and not the target.
In the docs, it includes both.
Expected Behavior
Target options should be passed as is or align the docs with Angular CLI.
Environment