We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
我看配置项的参数时string形式,貌似只能配置一种支持,但是我想同时支持brotliCompress和gzip两种,因为这样兼容性会更好。在不支持brotliCompress的场景下就可以使用gzip
The text was updated successfully, but these errors were encountered:
@WangJincheng4869 这个插件貌似不在维护了,可以考虑使用下 vite-plugin-compression2. 如果你想同时支持.gz和.br。你可以给vite设置2个插件。分别传入不同的algorithm
.gz
.br
algorithm
Sorry, something went wrong.
No branches or pull requests
我看配置项的参数时string形式,貌似只能配置一种支持,但是我想同时支持brotliCompress和gzip两种,因为这样兼容性会更好。在不支持brotliCompress的场景下就可以使用gzip
The text was updated successfully, but these errors were encountered: