mirror of
https://github.com/stackblitz/bolt.new
synced 2024-11-27 14:32:46 +00:00
fix(FileTree): hidden file patterns (#31)
This commit is contained in:
parent
38e6a79b38
commit
6c39477d13
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user