You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
@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.
Build Implementation (Feature?)
I recently migrated my oss project from
webpack
torollup
just to play with this tech and was pretty impressed with it! I saw thatredux
is usingrollup
for bundling the browser scripts &babel
handles the build/output of thecjs
&es
distributions. After some research and tinkering I was able to make arollup.config.js
that will output all of these distributions in one shot just callingrollup -c
.I'm more than willing to look into migrating the
redux
build process to be totally handled byrollup
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
orrollup-plugin-commonjs
plugins since my project has no external libraries to bundle likeredux
does; but from my reading it is not difficult to add this to the process with the aforementioned plugins.Thanks for the wonderful product!
The text was updated successfully, but these errors were encountered: