Skip to content

Commit

Permalink
Merge branch 'next' of github.com:storybookjs/storybook into pr/gitst…
Browse files Browse the repository at this point in the history
…art/19807
  • Loading branch information
JReinhold committed Nov 16, 2022
2 parents 5bc4668 + 2283ebb commit 2061671
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions code/ui/.storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ const config: StorybookConfig = {
configType === 'PRODUCTION' ? pluginTurbosnap({ rootDir: viteConfig.root || '' }) : [],
],
optimizeDeps: { ...viteConfig.optimizeDeps, force: true },
build: {
...viteConfig.build,
// disable sourcemaps in CI to not run out of memory
sourcemap: process.env.CI !== 'true',
},
}),
};

Expand Down

0 comments on commit 2061671

Please sign in to comment.