gulp-kmd

1.0.3 • Public • Published

gulp-kmd

kissy module compiler with gulp

Usege

gulpfile.js 里面示例代码:

//示例一
var gulp = require('gulp'),
	gulpKmd = require('gulp-kmd');

gulp.task('default', function(){
	gulp.src('./src/**/*.js')
		.pipe(gulpKmd())
		.pipe(gulp.dest('build'));
});


//示例二(结合gulp-kmc来使用)
gulp.src('./lib/**/*.js')
    .pipe(gulpKmd())
    .pipe(kmc.convert({
         fixModuleName:true,
         minify : true,
         ext : {
            src : '-debug.js',
            min : '.js'
         }
    }))
    .pipe(gulp.dest('./build/lib'));

Versions

Current Tags

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    1
  • 1.0.2
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i gulp-kmd

Weekly Downloads

1

Version

1.0.3

License

ISC

Last publish

Collaborators

  • weekeight