diff --git a/packages/storybook/.storybook/main.js b/packages/storybook/.storybook/main.js index 70f2a82ace..4cb5852aa9 100644 --- a/packages/storybook/.storybook/main.js +++ b/packages/storybook/.storybook/main.js @@ -68,7 +68,6 @@ export const framework = { name: getAbsolutePath('@storybook/html-webpack5') }; - function getAbsolutePath(value) { return dirname(require.resolve(join(value, 'package.json'))); }