Open JReinhold opened 1 month ago
@storybook/nextjs currently depends on the following babel-packages:
@storybook/nextjs
https://github.com/storybookjs/storybook/blob/b23e84ad3ac8523d8f2372157cd6e5ddab9312b1/code/frameworks/nextjs/package.json#L128-L140
Many of these are already available via storybook/internal/babel, or from next/dist/compiled/babel, we should attempt to use those instances instead. The latter may seem risky, but we already do this a couple of places so. 🤷
storybook/internal/babel
next/dist/compiled/babel
@storybook/nextjs
currently depends on the following babel-packages:https://github.com/storybookjs/storybook/blob/b23e84ad3ac8523d8f2372157cd6e5ddab9312b1/code/frameworks/nextjs/package.json#L128-L140
Many of these are already available via
storybook/internal/babel
, or fromnext/dist/compiled/babel
, we should attempt to use those instances instead. The latter may seem risky, but we already do this a couple of places so. 🤷