fix(FileTree): hidden file patterns (#31)

This commit is contained in:
Dominic Elm 2024-08-08 14:53:09 +02:00 committed by GitHub
parent 38e6a79b38
commit 6c39477d13
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,7 +4,7 @@ import { classNames } from '~/utils/classNames';
import { renderLogger } from '~/utils/logger'; import { renderLogger } from '~/utils/logger';
const NODE_PADDING_LEFT = 12; const NODE_PADDING_LEFT = 12;
const DEFAULT_HIDDEN_FILES = [/\/node_modules\//, /\.next/, /\.astro/]; const DEFAULT_HIDDEN_FILES = [/\/node_modules\//, /\/\.next/, /\/\.astro/];
interface Props { interface Props {
files?: FileMap; files?: FileMap;