1 | /**
|
2 | * Created by vajoylan on 2015/7/27.
|
3 | */
|
4 | var gulp = require('gulp');
|
5 | var embed = require('gulp-embed');
|
6 |
|
7 | gulp.task('embed', function () {
|
8 | gulp.src('./src/*.html')
|
9 | .pipe(embed())
|
10 | .pipe(gulp.dest('./dist/'));
|
11 | });
|
12 |
|
13 | gulp.task('default',function(){
|
14 | gulp.run('embed');
|
15 | }); |
\ | No newline at end of file |