If the current behavior is a bug, please provide the steps to reproduce, at least part of webpack config with loader configuration and piece of your code.
Webpack config:
[...]
.addLoader({
test: /svg-sprites(\/|\\).*\.svg$/, // your icons directory
loader: 'svg-sprite-loader',
options: {
extract: true,
spriteFilename: './sprites/icons.svg', // this is the destination of your sprite sheet
publicPath: '/',
}
})
OS type & version: Win 10.0.18363 (same happens on Linux/Apche server)
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)
Add a param to omit that information in the extracted file or relate to page root, not the server root.
What is the current behavior? spritePlaceholder function exposes server file structure in a multisite environment SVG file content:
What is the expected behavior? Ability to turn off the full URL info
If the current behavior is a bug, please provide the steps to reproduce, at least part of webpack config with loader configuration and piece of your code.
Webpack config:
Content of extracted Svg file:
Please tell us about your environment:
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)
Add a param to omit that information in the extracted file or relate to page root, not the server root.