Skip to content

exclude tests from published npm package - #3

Open
Be-ing wants to merge 1 commit into
CodeStitchOfficial:mainfrom
Be-ing:exclude_tests
Open

exclude tests from published npm package#3
Be-ing wants to merge 1 commit into
CodeStitchOfficial:mainfrom
Be-ing:exclude_tests

Conversation

@Be-ing

@Be-ing Be-ing commented Jul 16, 2026

Copy link
Copy Markdown

This reduces the package size from 14.5 MB to 9.6 KB.

Context: I was trying out https://github.com/CodeStitchOfficial/Intermediate-Website-Kit-SASS and wondering why node_modules was 162 MB. I saw this package was the second biggest (after libvps, which I presume statically links image codec C libraries) because test data is shipped in the published package.

This reduces the package size from 14.5 MB to 9.6 KB.
@netlify

netlify Bot commented Jul 16, 2026

Copy link
Copy Markdown

Deploy Preview for sharp-images-test ready!

Name Link
🔨 Latest commit ac7d511
🔍 Latest deploy log https://app.netlify.com/projects/sharp-images-test/deploys/6a582481cd17e1000823e5ca
😎 Deploy Preview https://deploy-preview-3--sharp-images-test.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@Be-ing

Be-ing commented Jul 16, 2026

Copy link
Copy Markdown
Author

By the way, how does this package compare to the @11ty/image package? It seems this was started before 11ty/image existed?

@Be-ing

Be-ing commented Aug 26, 2026

Copy link
Copy Markdown
Author

Ping @ItsEthanH, could you take a look at this little pull request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant