Closed kinglozzer closed 5 months ago
Using buildEnd
stops the sprite being removed, but I’m not sure if this will have other side-effects
@kinglozzer I'm working on it, but the main problem is that I'm not using emitFile and transform when building, we're already having problems with that, so you can follow the progress here - https://github.com/vshepel/vite-svg-sprite-wrapper/issues/10
Hi,
By default
build.emptyOutDir
istrue
, but this removes the sprite as soon as it’s generated if theoutputdir
is withinbuild.outDir
: