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
(cherry picked from commit a0a031e)
  • Loading branch information
ndelangen authored and storybook-bot committed Jul 12, 2024
1 parent 31d7b00 commit b024324
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 b024324

Please sign in to comment.