Skip to content

Automatic pwa.assetsVersion #4375

Open
Open
@franciscolourenco

Description

@franciscolourenco

What problem does this feature solve?

Assets inside the src folder are automatically renamed to include a digest.hash in the name, so that aggressive cache-control headers can be configured.

Since the vue-cli-pwa plugin already injects the links to the icons in the html, and has an option to version them by name, it would be great if it could process the icons as well, and append a digest/hash, just like the other static assets.

What does the proposed API look like?

Icons found in the pws.iconPaths would be renamed to include the digest/hash in the name.

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