Gulp 用法 var jstransform = require ( 'gulp-jstransform' ) ; gulp . task ( 'jstransform' , function ( ) { gulp . src ( './src/*.js' ) . pipe ( jstransform ( ) . on ( 'error' , gutil . log ) ) . pipe ( gulp . dest ( './public/' ) ) } ) ;