Skip to content

Commit

Permalink
Vite: Fix preview runtime import
Browse files Browse the repository at this point in the history
  • Loading branch information
yannbf committed Dec 4, 2024
1 parent 30ca1f4 commit ecb6793
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export async function generateModernIframeScriptCode(options: Options, projectRo
* @todo Inline variable and remove `noinspection`
*/
const code = `
import { setup } from '@storybook/core/preview/runtime';
import { setup } from 'storybook/internal/preview/runtime';
import '${SB_VIRTUAL_FILES.VIRTUAL_ADDON_SETUP_FILE}';
setup();
Expand Down

0 comments on commit ecb6793

Please sign in to comment.