Skip to content

Commit bc28a16

Browse files
authored
docs(core): change methodology for ignoring projects (#12956)
1 parent d59bd10 commit bc28a16

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

docs/shared/reference/project-configuration.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -393,13 +393,4 @@ You can also remove a dependency as follows:
393393
### Ignoring a project
394394
395395
Nx will add every project with a `package.json` file in it to its project graph. If you want to ignore a particular
396-
project, add the following to its `package.json`:
397-
398-
```jsonc {% fileName="package.json" %}
399-
{
400-
"name": "mylib",
401-
"nx": {
402-
"ignore": true
403-
}
404-
}
405-
```
396+
project, add the directory to your `.nxignore` file.

0 commit comments

Comments
 (0)