storybook build doesn't update content #30796
Unanswered
gottfried-github
asked this question in
Help
Replies: 1 comment
-
Disabling the // ./storybook/main.ts
const config: StorybookConfig = {
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|mjs|ts|tsx)'],
addons: [
'@storybook/addon-essentials',
'@storybook/addon-onboarding',
// '@chromatic-com/storybook',
'@storybook/experimental-addon-test',
],
framework: {
name: '@storybook/react-vite',
options: {},
},
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
storybook build
doesn't update the built content after I make changes to my stories files.I.e., I've done this:
storybook dev
updates appropriately, butstorybook build
attempts to build the old versionSeems like it has some cache somewhere, but I can't figure it out. I tried to remove
node_modules
and also tried this:CACHE_DIR=.tmp storybook build
as is suggested here
But that didn't help.
Additional information
Here's my
./storybook/main.ts
:Here's my
package.json
:Here's the project I've tried this with. There is the
storybook-static
with the content that my command has built.Create a reproduction
No response
Beta Was this translation helpful? Give feedback.
All reactions