.inspectorignore at your repository root to exclude files and folders from Inspector’s view. Works like .gitignore.
Editing Inspector Ignore
You can edit.inspectorignore directly in Inspector through the settings.
- Click your profile icon in the top right
- Click Settings
- Click the Project Settings tab
- Click the .inspectorignore file
- Edit the file
- Click the Save button
Example
Use Cases
- Dependencies — Exclude
node_modules/and other package directories - Build artifacts — Hide
dist/,build/,.next/folders - Sensitive files — Keep
.envand credentials out of Inspector - Large files — Exclude assets that slow down project loading
Syntax
.inspectorignore uses the same pattern syntax as .gitignore:
| Pattern | Description |
|---|---|
folder/ | Ignore a directory and its contents |
*.log | Ignore all files with .log extension |
!important.log | Negate a pattern (don’t ignore this file) |
**/temp | Match temp in any directory |
Commit
.inspectorignore to ensure consistent project views across your team.