svg-sprite / svg-sprite

SVG sprites & stacks galore — A low-level Node.js module that takes a bunch of SVG files, optimizes them and bakes them into SVG sprites of several types along with suitable stylesheet resources (e.g. CSS, Sass, LESS, Stylus, etc.)

Home Page:https://github.com/svg-sprite/svg-sprite

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Set custom path and output file name

kuncevic opened this issue · comments

I tried to play with the config

const config = {
  dest: "/assets/images/icons",
  mode: {
    symbol: {
      inline: true, // Prepare for inline embedding
    },
  },
};

However setting custom dest result with default folder structure and the output file name that I would like to change:

/assets/images/icons/symbol/svg/sprite.symbol.svg

Instead I want to see this /assets/images/icons/sprite.svg is it achievable using config?