Skip to content
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

compressPublicAssets keeps uncompressed files #2702

Open
1 task
hybridherbst opened this issue Sep 3, 2024 · 0 comments
Open
1 task

compressPublicAssets keeps uncompressed files #2702

hybridherbst opened this issue Sep 3, 2024 · 0 comments

Comments

@hybridherbst
Copy link

Describe the feature

I'm not sure if this is intentional, but it causes issues on some servers without strict order definitions for compressed and uncompressed files.

Currently, when enabling compressPublicAssets, the originals are kept instead of deleted.

For reference, vite-compression has an option to delete the originals:
https://github.com/vbenjs/vite-plugin-compression?tab=readme-ov-file#options

Is there a way to delete the originals when compressPublicAssets is on?

Additional information

  • Would you be willing to help implement this feature?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant