user1015434
user1015434

Reputation: 83

svg-sprite-loader outputPath breaks svgo

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.

Upvotes: 0

Views: 249

Answers (1)

user1015434
user1015434

Reputation: 83

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

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

Upvotes: 0

Related Questions