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
How to to use this with rollup? #1347
Comments
you can see my vite example on https://github.com/viveljs/viveljs/tree/main/workspace/cosmos. Vite use rollup. |
@tsanyqudsi I see you switched to using StoryBook instead of cosmos, any reason why? I am considering wether to get cosmos to work with vite and rollup or to switch to StoryBook? |
@supervanya to be honest I like Cosmos more, But Storybook has https://github.com/storybookjs/builder-vite. I will rethink my decision when Cosmos reach v 6. |
React Cosmos v6 is here and it comes with a brand new Vite plugin. Check out the migration guide to try it out! |
@sidwebworks @tsanyqudsi @supervanya FYI you can use the new Vite plugin by following the updated docs and there's also a new guide for hooking up Cosmos with any bundler here. Closing this but I'm open to any questions. |
Hi, I wanted to use react-cosmos in my custom component library, I have a custom setup using Rollup, Esbuild and Typescript.
The text was updated successfully, but these errors were encountered: