Allow running storybook build
with development
#29337
custardcream98
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is your feature request related to a problem? Please describe.
Currently, when running
storybook build
, the process automatically setsNODE_ENV
to production.This is problematic for scenarios where I want to use the development environment.
To use the development environment with Storybook and Vite, I have to manually prepend
NODE_ENV=development
to the command, like this:Describe the solution you'd like
NODE_ENV=development storybook build
) in the documentation.Describe alternatives you've considered
No response
Are you able to assist to bring the feature to reality?
yes, I can
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions