Content-Length: 218238 | pFad | http://github.com/symfony/symfony/issues/60735

FD [AssetMapper] Suggestion: Provide a dedicated CLI command for pre-compressing the assets · Issue #60735 · symfony/symfony · GitHub
Skip to content

[AssetMapper] Suggestion: Provide a dedicated CLI command for pre-compressing the assets #60735

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

Open
ThomasLandauer opened this issue Jun 6, 2025 · 0 comments

Comments

@ThomasLandauer
Copy link
Contributor

Description

Reason: After generating the (versioned) asset files, I'm running them through a minification tool (to remove comments). I know this could be achieved by adding sensiolabs/minify-bundle, but the more tools you add inside AssetMapper, the more obscure it gets.
So I'm suggesting a CLI command that goes through all the files in public/assets/ and create the precompressed version.
Might be useful for other kinds of "intermediate processing" (i.e. before pre-compression) of those files too.

Example

No response

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

3 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/symfony/symfony/issues/60735

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy