cascornelissen / svg-spritemap-webpack-plugin

SVG spritemap plugin for webpack
MIT License
207 stars 49 forks source link

404 Error when `options.output` changed #202

Closed Diboby closed 1 year ago

Diboby commented 1 year ago

Description

Hello !

I changed my options.output from the build folder to one of its subfolder, (i-e example: from dist/ to dist/svg/). So the svg sprite map file was created successfully in the subfolder. But unfortunetaly, when i ran my application, to load any svg file, it tried to find the svg sprite map file in the build folder instead of the according subfolder i provided above.

Expected behavior I expect to load the svg sprite map file from the subfolder i provided to options.output

Actual behavior

image