react-undraw icon indicating copy to clipboard operation
react-undraw copied to clipboard

commonjs build

Open jgillich opened this issue 5 years ago • 1 comments

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.

jgillich avatar Mar 08 '19 13:03 jgillich

Can we get a merge on this please. Need!! :)

alii avatar Apr 15 '20 19:04 alii