How to generate "build/svg/icons.svg": "build/svg/icons.05c988844bf3b74a.svg" in manifest.json?
See original GitHub issueWhat I am doing wrong? Thanks for help!
new SVGSpritemapPlugin([
'assets/svg/**/*.svg',
], {output: {filename: 'svg/icons.[contenthash].svg'}, sprite: { prefix: false, generate: {title: false } }})
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
SVG icon in PWA manifest.json - how to set it for all sizes?
Is there any way now to specify that an SVG icon in "manifest.json" for a PWA should be used for all possible sizes?...
Read more >Add a web app manifest
Create the manifest file #. The manifest file can have any name, but is commonly named manifest.json and served from the root (your...
Read more >Web app manifest with SVG icon - Google Groups
I've attempted to use an SVG icon in my web app manifest (which the spec seems to condone: https://www.w3.org/TR/appmanifest/#icons-member) ...
Read more >Build Your Own SVG Icons - SitePoint
We can arrange our SVG icon files to construct a much more flexible and powerful tool. There are three main ways (that I...
Read more >Quick Tip: Force web manifest to use your tiny svg instead of ...
Declare it last, after your png fallbacks - last one that is suitable size *must* get the nod. Counter-intuitively, declare that your svg...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Since https://github.com/shellscape/webpack-manifest-plugin/pull/248 has been merged and I’m expecting it to be released not too long from now as well, I’m going to close this issue. Thanks to everyone involved ✌🏼
Submitted the PR to increase the range in
webpack-manifest-plugin
at https://github.com/shellscape/webpack-manifest-plugin/pull/248.Also found out about the
output.hashDigestLength
Webpack option so the change in ec05468 should increase consistency a bit in that regard.