DEV Community

Discussion on: Making an NPM package for a React component library with Tailwind CSS

Collapse
 
vernerkeel profile image
Verner Keel

Hi Sam. Thanks for your guide it was helpful. However, my output.js results in 100kb+ size just for three components even when running using NODE_ENV=production rollup -c like you suggested. Here's my repo: github.com/vernerkeel/examples-for...
Any suggestions how to get the output smaller?

Collapse
 
samrobbins85 profile image
Sam Robbins

Hmm sorry not sure about this. I'll have a look at your repo when I've got time