assets-generator
assets-generator copied to clipboard
Generate images from another source path to public
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
Maybe a more general approach like https://github.com/vite-pwa/assets-generator/issues/15 would solve this problem as well. I have indeed the same requirements, therefore +1 from my side.