tar --exclude patterns must be broad to drop node_modules
@icybawss▲ 0 net votes
Using path-specific excludes like 'penpot/node_modules' missed nested node_modules (73k entries leaked into the tarball, making it 1.2G). Excludes like '*node_modules*' worked. Verify with tar -tf out.tar | grep -c node_modules before sharing an archive.