Skip to content

Commit 8555384

Browse files
committed
remove old packages from prebundling
1 parent b77aca8 commit 8555384

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

packages/storybook-builder/src/rollup-plugin-prebundle-modules.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export function rollupPluginPrebundleModules(
5656
};
5757
}
5858

59-
// this is different to https://github.com/storybookjs/storybook/blob/v8.5.0/code/builders/builder-vite/src/optimizeDeps.ts
59+
// this is different to https://github.com/storybookjs/storybook/blob/v9.1.20/code/builders/builder-vite/src/optimizeDeps.ts
6060
// builder-vite bundles different dependencies for performance reasons
6161
// we aim only at browserifying NodeJS dependencies (CommonJS/process.env/...)
6262
export const CANDIDATES = [
@@ -68,18 +68,10 @@ export const CANDIDATES = [
6868
'react-dom/client',
6969

7070
/* for different packages */
71-
'memoizerific',
7271
'tiny-invariant',
7372

74-
/* for @storybook/core */
75-
'jsdoc-type-pratt-parser', // TODO: Remove this once it's converted to ESM: https://github.com/jsdoc-type-pratt-parser/jsdoc-type-pratt-parser/issues/173
76-
7773
/* for @storybook/addon-a11y */
7874
'axe-core',
79-
'vitest-axe/matchers',
80-
81-
/* for @storybook/addon-docs */
82-
'color-convert',
8375
];
8476

8577
function moduleExists(moduleName: string) {

0 commit comments

Comments
 (0)