alloc / alloc/vite-plugin-compress

Support a suffix for compressed files

Open
#12 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
133
Forks
13
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.