gulp-def
v1.0.1
Published
element.def's gulp plugin
Downloads
16
Readme
gulp-def
gulp plugin for elegant.def
Usage
First, install gulp-def
as a development dependency:
npm install --save-dev gulp-def
Then, add it to your gulpfile.js:
var def = require('gulp-def');
gulp.src('./src/*.js')
.pipe(def({
defName: 'def'
}))
.pipe(gulp.dest('./dist'));
API
def(options)
options.defName
Type: String
Default: def
Used for making sure it is a def
function