0.1.0 • Published 10 years ago
gulp-m2df v0.1.0
Formatting CommonJS to the AMD or KMD
Installation
$ npm install --save-dev gulp-m2df
Usage
format("yourPackageName", "amd|kmd")
var pkgName = require('./package.json').name;
var formatter = require('gulp-m2df');
gulp.src('./src/**/*')
.pipe(format(pkgName, 'amd'))
.pipe(gulp.dest("./build/amd"));