Skip to content

Commit

Permalink
Fix addon-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinpalkovic committed May 16, 2024
1 parent 61ecef8 commit 0200052
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
11 changes: 2 additions & 9 deletions code/addons/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,7 @@
"require": "./dist/preview.js",
"import": "./dist/preview.mjs"
},
"./preset": {
"types": "./dist/preset.d.ts",
"require": "./dist/preset.js",
"import": "./dist/preset.js"
},
"./preset": "./dist/preset.js",
"./blocks": {
"types": "./dist/blocks.d.ts",
"require": "./dist/blocks.js",
Expand All @@ -51,10 +47,7 @@
"require": "./dist/preview.js",
"import": "./dist/preview.mjs"
},
"./dist/preset": {
"types": "./dist/preset.d.ts",
"require": "./dist/preset.js"
},
"./dist/preset": "./dist/preset.js",
"./dist/shims/mdx-react-shim": {
"types": "./dist/shims/mdx-react-shim.d.ts",
"require": "./dist/shims/mdx-react-shim.js",
Expand Down
1 change: 1 addition & 0 deletions code/addons/essentials/src/docs/preset.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { dirname, join } from 'path';

// @ts-expect-error no types
export * from '@storybook/addon-docs/dist/preset';

export const mdxLoaderOptions = async (config: any) => {
Expand Down

0 comments on commit 0200052

Please sign in to comment.