-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
why do we use separate webpack configurations? #40
Labels
Comments
That's because, Storybook uses it's own server with it's own set of configurations (files) to setup it. You can import your existing configuration into storybooks file and pick whatever the parts you need. |
#160 is probably relevant here. |
I think #160 is the best we can have. |
ndelangen
pushed a commit
that referenced
this issue
Apr 11, 2017
ndelangen
pushed a commit
that referenced
this issue
Apr 11, 2017
Add the user to the local cache when adding a comment.
ndelangen
pushed a commit
that referenced
this issue
Feb 23, 2024
Add core server events for telemetry
kasperpeulen
pushed a commit
that referenced
this issue
Feb 6, 2025
Revert "Play function can only be set at the story level"
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Most setups already use a webpack configuration and I wonder why do we use a separate one? Of course I could just symlink my config but that doesn't work because the server just uses the module loaders and plugins but ignores everything else. E.g. if I want to use stylus with the nib plugin there is a stylus option within the webpack configuration:
Because that option is ignored I can't use the storybook for components that are using nib :(
Can't we go the other way around? Load the main webpack configuration an add/modify it for the server?
The text was updated successfully, but these errors were encountered: