You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inside .storybook/main.ts is an import { config } from "../webpack.config.ts"; line so that we can share parts of the webpack config between storybook and our normal build. The problem we had was that changes to webpack.config.ts weren't cache busting.
I see where package.json can contribute to a rebuild, but I don't see how the storybook or webpack config contributes. Perhaps I'm looking in the wrong part of the code.
Bug report
According to the docs, changes to either
.storybook/main.ts
or.storybook/preview.ts
should trigger a full rebuild.However in our setup (pnpm monorepo + typescript + react) it does not trigger a rebuild.
I've created a reproduction, with 3 PR's demonstrating the issue:
preview.ts
main.ts
The text was updated successfully, but these errors were encountered: