From 61ecef8a3990657e4c4cdea56566cec776c96811 Mon Sep 17 00:00:00 2001 From: Valentin Palkovic Date: Thu, 16 May 2024 16:41:32 +0200 Subject: [PATCH] Fix addon-docs --- .gitignore | 3 ++- code/addons/docs/package.json | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index f23bfa05951d..67ff73ff128d 100644 --- a/.gitignore +++ b/.gitignore @@ -52,4 +52,5 @@ code/playwright/.cache/ code/bench-results/ /packs -code/.nx/cache \ No newline at end of file +code/.nx/cache +*storybook.log \ No newline at end of file diff --git a/code/addons/docs/package.json b/code/addons/docs/package.json index 81dc5477fa5f..3a5cd35408f5 100644 --- a/code/addons/docs/package.json +++ b/code/addons/docs/package.json @@ -133,7 +133,8 @@ }, "bundler": { "exportEntries": [ - "./src/index.ts" + "./src/index.ts", + "./src/shims/mdx-react-shim.ts" ], "previewEntries": [ "./src/blocks.ts", @@ -142,8 +143,7 @@ "nodeEntries": [ "./src/preset.ts", "./src/csf-loader.ts", - "./src/mdx-loader.ts", - "./src/shims/mdx-react-shim.ts" + "./src/mdx-loader.ts" ] }, "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae17",