question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to generate "build/svg/icons.svg": "build/svg/icons.05c988844bf3b74a.svg" in manifest.json?

See original GitHub issue

What 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:closed
  • Created 3 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
cascornelissencommented, Feb 16, 2021

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 ✌🏼

1reaction
cascornelissencommented, Feb 5, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found