How I Accidentally Made My npm Package 324MB (and Fixed It)
Last week, I tried to create a CodeSandbox demo for my npm package. It failed. I tried to create a demo on https://playcode.io/typescript and it failed again. The error message? ENOSPC: no space left on device I stared at my screen, confused. Then I checked the package size. 324MB. 😱 For context, React is about…