react-undraw
react-undraw copied to clipboard
commonjs build
This adds a commonjs build at dist/cjs
. I need this for my Next.js app, which unfortunately requires all dependencies to use commonjs (there is a way to transpile on the fly but increases build times by about 10 seconds, ouch).
The esm modules still remain at dist/
because moving them could cause breakage for some people (or not, because everyone relies on tree shaking anyway? I could move them as well if you're fine with it).
npm audit complained about some security issues so I also updated all dependencies.
Can we get a merge on this please. Need!! :)