Description
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!