-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
fix: include .txt files in precompress #15259
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Add .txt to the list of extensions eligible for precompression. Text files like robots.txt and ads.txt are highly compressible and should be precompressed alongside other text-based assets like .html, .xml, and .svg. Closes sveltejs#15170
🦋 Changeset detectedLatest commit: 160735f The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Added a changeset. The failing CI check ( |
|
converting to draft while we decipher in the related issue what the reason was (if any) to omit .txt files from compression |
benmccann
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should merge this. I don't think there was any reason .txt was left out
The original PR (5 years ago!) just didn't have it: #1693
Thank you! |
Summary
.txtto the list of file extensions eligible for precompression inbuilder.jsrobots.txtandads.txtare highly compressible and should be precompressed alongside other text-based assets like.html,.xml, and.svgCloses #15170