DEV Community

Discussion on: How to create an npm library from react components

Collapse
 
jimjunior profile image
Beingana Jim Junior

Terser is a library that minifies code. This is good for production mode.
If you don't include that plugin then rollup will just compile your code without minifing it.

Collapse
 
ayanweb profile image
Ayan-web

Thanks that really helped a lot