gulp-image2base64
v0.0.2
Published
plugin of gulp to change image to base64
Downloads
2
Readme
#gulp-seajs-combo
Install
npm install gulp-seajs-combo
Usage
var seajs = require('gulp-seajs-combo');
seajs(options);
###Options
- prefix 模块名前缀,非必选项,如:define("widgets/name", function(){});
- rootDir 跟目录,默认src
- except 不合并的文件
- depsFile 依赖关系表文件,非必选项,默认不输出
###Example
gulp.task('seajs', function(){
return gulp.src(['./src/**/*.js'], {base: './src'})
.pipe(seajs({
prefix : "widgets",
rootDir : "src",
depsFile: "./src/map.js"
}))
.pipe(uglify())
.pipe(gulp.dest('./build'));
});