mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 04:11:06 +08:00
Don't force MDX1 on init
This commit is contained in:
parent
d239cb2ed3
commit
6a54f5aac5
@ -152,8 +152,7 @@ export async function baseGenerator(
|
||||
addonPackages.push('@storybook/addon-interactions', '@storybook/testing-library');
|
||||
}
|
||||
|
||||
const yarn2ExtraPackages =
|
||||
packageManager.type === 'yarn2' ? ['@storybook/addon-docs', '@mdx-js/react@1.x.x'] : [];
|
||||
const yarn2ExtraPackages = packageManager.type === 'yarn2' ? ['@storybook/addon-docs'] : [];
|
||||
|
||||
const files = await fse.readdir(process.cwd());
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user