alloc / alloc/vite-plugin-compress

Support a suffix for compressed files

Aperta
#12 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
133
Fork
13
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.