mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 21:51:17 +08:00
Fix default story glob
This commit is contained in:
parent
03b6c00902
commit
0620d65643
@ -10,7 +10,7 @@ import { normalizeStoryPath } from './paths';
|
||||
import { globToRegexp } from './glob-to-regexp';
|
||||
|
||||
const DEFAULT_TITLE_PREFIX = '';
|
||||
const DEFAULT_FILES = '**/*.(stories|docs).@(mdx|tsx|ts|jsx|js)';
|
||||
const DEFAULT_FILES = '**/*.@(mdx|stories.mdx|stories.tsx|stories.ts|stories.jsx|stories.js)';
|
||||
|
||||
// TODO: remove - LEGACY support for bad glob patterns we had in SB 5 - remove in SB7
|
||||
const fixBadGlob = deprecate(
|
||||
|
Loading…
x
Reference in New Issue
Block a user