webpack-pwa-manifest icon indicating copy to clipboard operation
webpack-pwa-manifest copied to clipboard

Support for setting the icon size option to 'any' ?

Open Momijiichigo opened this issue 4 years ago • 0 comments

I tried this configuration but it seems setting icon size to a value 'any' is not supported. what I tried:

new WebpackPwaManifest({
      //~~~~
      icons: [
        {
          src: path.resolve("./src/imgs/logo.svg"),
          sizes: 'any',
          type: "image/svg+xml"
        }
      ]
    }),

expected output manifest:

{
	//~~~~~~~~~
	"icons": [
		{
			"src": "./path/to/icon.svg",
			"sizes": "any",
			"type": "image/svg+xml"
		}
	]
}

Can I have this option available because I don't like this extension to generate multiple SVG files?

Momijiichigo avatar Jun 16 '20 07:06 Momijiichigo