Skip to content

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

Open
@ThomasLandauer

Description

@ThomasLandauer

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions