[AssetMapper] Suggestion: Provide a dedicated CLI command for pre-compressing the assets #60735
Labels
Content-Length: 218238 | pFad | http://github.com/symfony/symfony/issues/60735
FDFetched URL: http://github.com/symfony/symfony/issues/60735
Alternative Proxies:
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
The text was updated successfully, but these errors were encountered: