Skip to content
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

Automatic pwa.assetsVersion #4375

Open
franciscolourenco opened this issue Jul 29, 2019 · 0 comments
Open

Automatic pwa.assetsVersion #4375

franciscolourenco opened this issue Jul 29, 2019 · 0 comments

Comments

@franciscolourenco
Copy link

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.

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

2 participants