I am trying to implement a spritemap function with Sage 9. I’ve included the following webpack plugin:
with the following code:
src: path.join(config.paths.assets, “/images/svg/*.svg”),
The spritemap is generated while using yarn start, but when using yarn build the sprite map is empty. It looks like it can’t find the separate SVG files. Any idea how to fix this?
Thanks in advance,