Skip to content

Commit

Permalink
Add more dep optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
eirslett committed Jun 11, 2021
1 parent 42d2028 commit eda3b5a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/storybook-builder-vite/optimizeDeps.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,12 @@ module.exports.optimizeDeps = {
'react-dom',
'ansi-to-html',
'telejson',
'@storybook/addon-docs',
'@storybook/csf',
'@storybook/core/client',
'@storybook/client-api',
'@storybook/client-logger',
'@storybook/react',
'regenerator-runtime/runtime.js',
'memoizerific',
'ts-dedent',
Expand Down Expand Up @@ -67,6 +71,7 @@ module.exports.optimizeDeps = {
'color-convert',
'warning',
'axe-core',
'isobject',
].filter((m) => {
try {
require.resolve(m);
Expand Down

0 comments on commit eda3b5a

Please sign in to comment.