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
Add support for Storybook custom builder #10585
Comments
Hi there @Jordan-Hall ! What happens when you make that change to your |
@mandarini it says its reverts to webpack 4 |
Ohhhhhhhhhhhhhhh I know the issue! Ok, will look into this soon. I'm on PTO after PTO these days, but next week it will be my priority! :) |
I know the message says so, but does it actually use webpack4, or maybe it does use your |
Yes it uses the vite under it. Sorry, the warning message thrown me off because of other issues I was facing! I didn't have time to debug it fully until now. |
Perfect!!!! Thanks these answers were super helpful!!! :D :D Just bad messaging, easy to fix!! Thanks @Jordan-Hall ! |
Note to self: fix messaging and core builder check for Storybook |
I'll let you know if this is exactly the issue. WIth the setup I have it appears to still be running on webpack (At least thats what it says). I notice now #10584 is saying bable-loader being used so will need to debug for longer. However at the same time all the viteFinal config is being called as expected. |
Hi @Jordan-Hall ! I'm testing this out, right now! Sooooo, great news!!! I just tested this! I installed Then I just did Here is my repo. I had to do nothing more, it just works! I just need to remove that webpack4 message, which is disorienting! Here are the changes from the default Storybook setup as Nx creates it, to move to vite. Please please let me know if it works for you! You can also read the docs on the vite builder! |
ISSUES CLOSED: nrwl#10585, nrwl#9290
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context. |
Currently storybook requires either webpack or webpack5 set in the
{ core: { builder: '...' } }
I've been wanting to use more custom builder for plugins without having to fork the whole storybook integration. For example:
The text was updated successfully, but these errors were encountered: