swint-builder-html
v1.2.13
Published
HTML builder for Swint
Downloads
131
Readme
swint-builder-html
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-html
Options
inDir
:String
, default:path.dirname(require.main.filename)
outDir
:String
, default:path.join(path.dirname(require.main.filename), '../out')
minify
:Boolean
, default:true
variables
:Object
, default:{}
walkOption
:Object
, default:{ ext: 'html' }
Usage
buildHTML({
inDir: path.join(__dirname, 'elements', 'target'),
outDir: path.join(__dirname, 'out'),
variables: {}
}, function() {
// Build complete
});