Skip to content

Commit

Permalink
Merge pull request #28581 from storybookjs/norbert/cpc-remove-vite-extra
Browse files Browse the repository at this point in the history
CPC: Fix vite builder had wrong conditions
  • Loading branch information
ndelangen authored Jul 12, 2024
2 parents faa3d5b + 1dc3113 commit a0a031e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/builders/builder-vite/src/vite-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand Down

0 comments on commit a0a031e

Please sign in to comment.