docs(misc): remove incorrect and not needed targetDefaults option from snippet (#22533)

This commit is contained in:
Leosvel Pérez Espinosa 2024-04-02 17:08:23 +02:00 committed by GitHub
parent 910491d4ac
commit 50cf7e303c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -188,15 +188,12 @@ Naming a set of inputs with the same name as a set of inputs defined for the wor
By default, Nx Workspaces are generated with the following named inputs:
```jsonc {% fileName="nx.json" highlightLines=["2-6"] %}
```jsonc {% fileName="nx.json" %}
{
"namedInputs": {
"default": ["{projectRoot}/**/*", "sharedGlobals"], // Default Inputs
"production": ["default", "!{projectRoot}/jest.config.ts"], // Production Inputs
"sharedGlobals": [] // Shared Global Inputs
},
"targetDefaults": {
"inputs": ["default", "^default"]
}
}
```