Skip to content

Instantly share code, notes, and snippets.

@muffinresearch
Created July 16, 2015 13:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save muffinresearch/002a5382acf68a60105d to your computer and use it in GitHub Desktop.
Save muffinresearch/002a5382acf68a60105d to your computer and use it in GitHub Desktop.
svg2png config example
module.exports = {
all: {
// specify files in array format with multiple src-dest mapping
files: [
// rasterize all SVG files in "img" and its subdirectories to "img/png"
{ cwd: 'public/svg/', src: ['**/*.svg'], dest: 'public/img/' }
]
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment