svg-sprite-loader outputPath breaks svgo

210 views Asked by At

My svgo-loader is working fine, until I add an outputPath to my svg-sprite-loader. At which point the svgo-loader no longer finds the file.

1

There are 1 answers

0
user1015434 On

Solution was to remove outputPath, and instead alter the spriteFilename to start with the folder like this

spriteFilename: `static/icons.${time}.svg`,