From 00af80781be4bdaefe046efe78cb6f7a336926d3 Mon Sep 17 00:00:00 2001 From: git Date: Fri, 30 Apr 2021 17:00:00 -0400 Subject: [PATCH] fix: mdx compiler switch to new path --- addons/docs/src/mdx/mdx-compiler-plugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/docs/src/mdx/mdx-compiler-plugin.js b/addons/docs/src/mdx/mdx-compiler-plugin.js index 02a8e4ae9b4..95ca7e0545d 100644 --- a/addons/docs/src/mdx/mdx-compiler-plugin.js +++ b/addons/docs/src/mdx/mdx-compiler-plugin.js @@ -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)};`,