From 1dc31136e564a7387a9cdf7de8cf3c285d92d4a3 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Fri, 12 Jul 2024 18:51:47 +0200 Subject: [PATCH] remove the "extra conditions" added during CPC work, as it appear to be causing https://github.com/storybookjs/storybook/issues/28545 --- code/builders/builder-vite/src/vite-config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/builders/builder-vite/src/vite-config.ts b/code/builders/builder-vite/src/vite-config.ts index dd06ce60155a..2a965dbacffc 100644 --- a/code/builders/builder-vite/src/vite-config.ts +++ b/code/builders/builder-vite/src/vite-config.ts @@ -65,7 +65,7 @@ export async function commonConfig( base: './', plugins: await pluginConfig(options), resolve: { - conditions: ['storybook', 'stories', 'test', 'browser', 'import', 'module', 'default'], + conditions: ['storybook', 'stories', 'test'], preserveSymlinks: isPreservingSymlinks(), alias: { assert: require.resolve('browser-assert'),