alloc / alloc/vite-plugin-compress

Support a suffix for compressed files

Đang mở
#12 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
133
Fork
13
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

In our use case the server would want to know if a file is compressed or not so that it can serve the file in a way that the browser understands. One way of accomplishing this would be to add a `outputSuffix` parameter that, when set, would write the compressed version as `filename+outputSuffix` instead of overwriting the original file.

If this makes sense, I could create a PR once #11 is resolved somehow

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.