mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 14:11:26 +08:00
Merge pull request #14777 from saranrapjs/14602-fix-doc-blocks-cjs
fix: mdx compiler switch to new path
This commit is contained in:
commit
003db513ae
@ -459,7 +459,7 @@ function extractExports(root, options) {
|
||||
|
||||
const defaultJsx = mdxToJsx.toJSX(root, {}, { ...options, skipExport: true });
|
||||
const fullJsx = [
|
||||
'import { assertIsFn, AddContext } from "@storybook/addon-docs/blocks";',
|
||||
'import { assertIsFn, AddContext } from "@storybook/addon-docs";',
|
||||
defaultJsx,
|
||||
...storyExports,
|
||||
`const componentMeta = ${stringifyMeta(metaExport)};`,
|
||||
|
Loading…
x
Reference in New Issue
Block a user