Skip to content

Commit b9ba528

Browse files
committed
Update gulpfile.js
1 parent bff3d3d commit b9ba528

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

Diff for: gulpfile.js

+5-12
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,8 @@
11
var gulp = require('gulp');
2-
var uglify = require('gulp-uglify');
3-
var rename = require('gulp-rename');
2+
var markdown = require('gulp-markdown');
43

5-
6-
gulp.task('uglify', function() {
7-
gulp.src('src.js')
8-
.pipe(uglify())
9-
.pipe(rename(function (path) {
10-
path.extname = ".min.js"
11-
}))
12-
.pipe(gulp.dest('dist'))
4+
gulp.task('default', function () {
5+
return gulp.src('README.md')
6+
.pipe(markdown())
7+
.pipe(gulp.dest('html'));
138
});
14-
15-
gulp.task('default', ['uglify']);

0 commit comments

Comments
 (0)