Created
July 16, 2015 13:42
-
-
Save muffinresearch/002a5382acf68a60105d to your computer and use it in GitHub Desktop.
svg2png config example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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