start-storybook works, build-storybook does not (Tailwind styles not loaded) #15307
Unanswered
arondeparon
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm working on a React (TypeScript) front-end that uses Tailwindcss and it seems like my Tailwind styles are not being loaded when I run
build-storybook
, although everything works fine when I just runstart-storybook
.I'm guessing that the issue is related to a Webpack configuration issue, but I don't see any errors so I'm not sure where to start. Any ideas?
Here is a snapshot of my Storybook configuration:
main.js
preview.js
Beta Was this translation helpful? Give feedback.
All reactions