swint-builder-svg
v1.0.13
Published
SVG sprite builder for Swint
Downloads
131
Readme
swint-builder-svg
Warning: This is not the final draft yet, so do not use this until its official version is launched
Installation
$ npm install --save swint-builder-svg
Options
name
:String
, default:Project
inDir
:String
, default:path.dirname(require.main.filename)
outDir
:String
, default:path.join(path.dirname(require.main.filename), '../out')
walkOption
:Object
, default:{ ext: 'svg' }
Usage
buildSVG({
name: 'Test',
inDir: path.join(__dirname, 'svg'),
outDir: path.join(__dirname, 'out')
}, function() {
// Build complete
});