feat: add 'Open in StackBlitz' button to header (#10)

This commit is contained in:
Connor Fogarty
2024-07-26 09:08:24 -05:00
committed by GitHub
parent 20e2d49993
commit d35f64eb1d
7 changed files with 101 additions and 2 deletions

View File

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