rollup-starter-lib
rollup-starter-lib copied to clipboard
How to use with uglify or other minifier?
Hey, this is a fantastic starter kit for building a lib.
What if I want to serve the cjs, umd, and esm version both unminified and minified? For example:
- mylib.cjs.js
- mylib.cjs.min.js
- mylib.esm.js
- mylib.esm.min.js
- mylib.umd.js
- mylib.umd.min.js
How do I obtain this?
Thanks
Minifing would be great to add to this demo!