Skip to content
This repository has been archived by the owner on Dec 26, 2023. It is now read-only.

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

Open
Momijiichigo opened this issue Jun 16, 2020 · 0 comments
Open

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

Momijiichigo opened this issue Jun 16, 2020 · 0 comments

Comments

@Momijiichigo
Copy link

Momijiichigo commented Jun 16, 2020

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant