Skip to content

[AssetMapper] Adding possible precompressor values #21021

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

Merged
merged 1 commit into from
Jun 3, 2025

Conversation

ThomasLandauer
Copy link
Contributor

@carsonbot carsonbot changed the title [AssetMapper]: Adding possible precompressor values [AssetMapper] : Adding possible precompressor values May 30, 2025
@JoaoGabrielD
Copy link

Another useful information is the possibility of setting an array with multiple of those values.
I've tested this, and it worked:

framework:
    asset_mapper:
        # ...
        precompress:
            format: [
                'gzip',
                'brotli',
                'zstandard',
            ]

@OskarStark OskarStark changed the title [AssetMapper] : Adding possible precompressor values [AssetMapper] Adding possible precompressor values Jun 2, 2025
@javiereguiluz javiereguiluz added this to the 7.3 milestone Jun 3, 2025
@javiereguiluz javiereguiluz merged commit 3360850 into symfony:7.3 Jun 3, 2025
2 of 3 checks passed
@javiereguiluz
Copy link
Member

Thanks Thomas! @JoaoGabrielD you are right! We added that while merging. Thanks!

@ThomasLandauer ThomasLandauer deleted the patch-22 branch June 3, 2025 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants