Discussions

Ask a Question
Back to All

svg-sprite-loader - how to exclude SVG files from "spike loader"?

I am using the svg-sprite-loader in order to use the "use" tag with "xlink:href" attribute. This loader was added as loader and plugin.

When I build the project (npm run build) I receive this warning:
ModuleWarning: svg-sprite-loader exception. Some loaders will be applied after svg-sprite-loader in extract mode

So, how can I tell to spike to not process SVG files or how can I override some loader configuration to exclude a specific svg file?

Thank you in advance