mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-18 05:02:24 +08:00
fix typo
This commit is contained in:
parent
a363f49377
commit
e8d1c08eb9
@ -62,7 +62,7 @@
|
|||||||
"import": "./dist/docs/preset.mjs",
|
"import": "./dist/docs/preset.mjs",
|
||||||
"types": "./dist/docs/preset.d.ts"
|
"types": "./dist/docs/preset.d.ts"
|
||||||
},
|
},
|
||||||
"./dist/docs/mdx-react-shim": {
|
"./docs/mdx-react-shim": {
|
||||||
"require": "./dist/docs/mdx-react-shim.js",
|
"require": "./dist/docs/mdx-react-shim.js",
|
||||||
"import": "./dist/docs/mdx-react-shim.mjs",
|
"import": "./dist/docs/mdx-react-shim.mjs",
|
||||||
"types": "./dist/docs/mdx-react-shim.d.ts"
|
"types": "./dist/docs/mdx-react-shim.d.ts"
|
||||||
|
@ -3,7 +3,6 @@ export * from '@storybook/addon-docs/dist/preset';
|
|||||||
|
|
||||||
export const mdxLoaderOptions = async (config: any) => {
|
export const mdxLoaderOptions = async (config: any) => {
|
||||||
// eslint-disable-next-line no-param-reassign
|
// eslint-disable-next-line no-param-reassign
|
||||||
config.mdxCompileOptions.providerImportSource =
|
config.mdxCompileOptions.providerImportSource = '@storybook/addon-essentials/docs/mdx-react-shim';
|
||||||
'@storybook/addon-essential/dist/docs/mdx-react-shim';
|
|
||||||
return config;
|
return config;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user