diff --git a/code/addons/actions/package.json b/code/addons/actions/package.json index 6445406fd3b..4747cf4819b 100644 --- a/code/addons/actions/package.json +++ b/code/addons/actions/package.json @@ -37,7 +37,7 @@ "import": "./dist/manager.mjs", "types": "./dist/manager.d.ts" }, - "./dist/preview": { + "./preview": { "require": "./dist/preview.js", "import": "./dist/preview.mjs", "types": "./dist/preview.d.ts" diff --git a/code/addons/backgrounds/package.json b/code/addons/backgrounds/package.json index 95c1d4a3a7f..02025a37922 100644 --- a/code/addons/backgrounds/package.json +++ b/code/addons/backgrounds/package.json @@ -36,7 +36,7 @@ "import": "./dist/manager.mjs", "types": "./dist/manager.d.ts" }, - "./dist/preview": { + "./preview": { "require": "./dist/preview.js", "import": "./dist/preview.mjs", "types": "./dist/preview.d.ts" diff --git a/code/addons/essentials/src/preview/actions.ts b/code/addons/essentials/src/preview/actions.ts index 572ae20e01d..0d7d5c6c33b 100644 --- a/code/addons/essentials/src/preview/actions.ts +++ b/code/addons/essentials/src/preview/actions.ts @@ -1 +1 @@ -export * from '@storybook/addon-actions/dist/preview'; +export * from '@storybook/addon-actions/preview'; diff --git a/code/addons/essentials/src/preview/backgrounds.ts b/code/addons/essentials/src/preview/backgrounds.ts index d5ff97a51ac..2d01bf61bb6 100644 --- a/code/addons/essentials/src/preview/backgrounds.ts +++ b/code/addons/essentials/src/preview/backgrounds.ts @@ -1 +1 @@ -export * from '@storybook/addon-backgrounds/dist/preview'; +export * from '@storybook/addon-backgrounds/preview'; diff --git a/code/addons/essentials/src/preview/highlight.ts b/code/addons/essentials/src/preview/highlight.ts index 9d8609a61a0..c57b34aafd6 100644 --- a/code/addons/essentials/src/preview/highlight.ts +++ b/code/addons/essentials/src/preview/highlight.ts @@ -1 +1 @@ -export * from '@storybook/addon-highlight/dist/preview'; +export * from '@storybook/addon-highlight/preview'; diff --git a/code/addons/essentials/src/preview/measure.ts b/code/addons/essentials/src/preview/measure.ts index 6c094594d63..c34063ac4ca 100644 --- a/code/addons/essentials/src/preview/measure.ts +++ b/code/addons/essentials/src/preview/measure.ts @@ -1 +1 @@ -export * from '@storybook/addon-measure/dist/preview'; +export * from '@storybook/addon-measure/preview'; diff --git a/code/addons/essentials/src/preview/outline.ts b/code/addons/essentials/src/preview/outline.ts index d0c57728755..16cc2faa039 100644 --- a/code/addons/essentials/src/preview/outline.ts +++ b/code/addons/essentials/src/preview/outline.ts @@ -1 +1 @@ -export * from '@storybook/addon-outline/dist/preview'; +export * from '@storybook/addon-outline/preview'; diff --git a/code/addons/highlight/package.json b/code/addons/highlight/package.json index 6248c271c38..40563352d49 100644 --- a/code/addons/highlight/package.json +++ b/code/addons/highlight/package.json @@ -29,7 +29,7 @@ "import": "./dist/index.mjs", "types": "./dist/index.d.ts" }, - "./dist/preview": { + "./preview": { "require": "./dist/preview.js", "import": "./dist/preview.mjs", "types": "./dist/preview.d.ts" diff --git a/code/addons/interactions/package.json b/code/addons/interactions/package.json index 487ea58da84..7bbc59c59f6 100644 --- a/code/addons/interactions/package.json +++ b/code/addons/interactions/package.json @@ -32,7 +32,7 @@ "import": "./dist/manager.mjs", "types": "./dist/manager.d.ts" }, - "./dist/preview": { + "./preview": { "require": "./dist/preview.js", "import": "./dist/preview.mjs", "types": "./dist/preview.d.ts" diff --git a/code/addons/links/package.json b/code/addons/links/package.json index ce9e4b586d8..f0a55ac47d8 100644 --- a/code/addons/links/package.json +++ b/code/addons/links/package.json @@ -32,7 +32,7 @@ "import": "./dist/manager.mjs", "types": "./dist/manager.d.ts" }, - "./dist/preview": { + "./preview": { "require": "./dist/preview.js", "import": "./dist/preview.mjs", "types": "./dist/preview.d.ts" diff --git a/code/addons/measure/package.json b/code/addons/measure/package.json index 74b144c2c8e..11ba0b09cf5 100644 --- a/code/addons/measure/package.json +++ b/code/addons/measure/package.json @@ -35,7 +35,7 @@ "import": "./dist/manager.mjs", "types": "./dist/manager.d.ts" }, - "./dist/preview": { + "./preview": { "require": "./dist/preview.js", "import": "./dist/preview.mjs", "types": "./dist/preview.d.ts"