Skip to content
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

Build Output totally managed by Rollup #2379

Closed
rockchalkwushock opened this issue Apr 29, 2017 · 2 comments
Closed

Build Output totally managed by Rollup #2379

rockchalkwushock opened this issue Apr 29, 2017 · 2 comments

Comments

@rockchalkwushock
Copy link

Build Implementation (Feature?)

I recently migrated my oss project from webpack to rollup just to play with this tech and was pretty impressed with it! I saw that redux is using rollup for bundling the browser scripts & babel handles the build/output of the cjs & es distributions. After some research and tinkering I was able to make a rollup.config.js that will output all of these distributions in one shot just calling rollup -c.

I'm more than willing to look into migrating the redux build process to be totally handled by rollup if that is something the maintainers feel would be a direction they want to go in for bundling and distributing the product.

The configuration I came up with can be found here. Of course the config does not use rollup-plugin-node-resolve or rollup-plugin-commonjs plugins since my project has no external libraries to bundle like redux does; but from my reading it is not difficult to add this to the process with the aforementioned plugins.

Thanks for the wonderful product!

@TrySound
Copy link
Contributor

@rockchalkwushock We are on this way here

@rockchalkwushock
Copy link
Author

rockchalkwushock commented Apr 29, 2017

@TrySound thanks for the reference! Definitely learned a lot reading through the discussion. It's really interesting seeing what goes on in the process of moving tech forward. Considering the end user, the bundle sizes, testing, debugging, etc. Very complex; but exciting to read through. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants