assets-generator
assets-generator copied to clipboard
Zero-config PWA Assets Generator
By default the pwa assets will be generated in the image source folder, you can use a `assetsName` callback to change the output dir to create the assets in subfolders...
for example: `images: ['public/icon-only.svg']` generate all images to `public` directory ok, but is source files in `images: ['assets/icon-only.svg']` all images generate to `assets` not `public`
Adds a Dark Theme version of the hero image for the README Colors copied from Dark version of [Vite PWA Website](https://vite-pwa-org.netlify.app/) ## BEFORE ### Light ![CleanShot 2024-04-13 at 15 17...
Hi, You're using `[email protected]` which doesn't work with the Bun runtime. Please consider updating to >0.33 to fix the problem with Bun. https://github.com/lovell/sharp/issues/3511 Thanks!
for example we have: `images: ['assets/icon-only.svg']` with glob: `images: [...fg.sync(['assets/icon-only.*']) ]` integrated: `images: ['assets/icon-only.*']` also we resolve dynamic extension issue like: `images: ['assets/icon-only.(svg|png|jpg)']`
This shares some similarities with #29. Would it be useful/common use case to be able to use another image as source for larger sizes? E.g. a splash screen have more...
If using the security best practice with `ignore-scripts` (either through `--ignore-scripts` `npm` CLI flag, or in `.npmrc`), the asset generator fails with: ``` transforming (1) index.html PWA v0.19.0 WARNING: you...
I am generating my icons with the `minimal-2023` preset and the original icon is: ```xml ``` The generated icons should look like this:  But the 64x64 has wierd fringing...
Hello and thank you for working on this! I tried to use it in my webapp and decided that it was too limited for my use case, but I would...