Closed dlerm closed 11 months ago
@dlerm Hello, can't reproduce this, it works for me, check it out:
ViteSvgSpriteWrapper({
icons: 'svg/*.svg',
outputDir: '',
sprite: {
mode: {
symbol: {
sprite: '../sprite.liquid',
},
},
},
}),
Can't reproduce
Thanks for creating this plugin, it is really helpful to setup an svg sprite setup for my Shopify theme repo.
In configuring the plugin, I attempted to rename the outputed file to
svg-sprites.liquid
as that is the extension I need it in.To do so, I set up the plugin like this:
After making this update, when I run
vite build --watch
from the command line, the project builds over and over in an infinite loop even though I'm not changing any of the watched files.Do you happen to know why this might be happening? Any help is appreciated.