Skip to content

Commit a2c89fc

Browse files
committed
release
1 parent 94e43b4 commit a2c89fc

File tree

6 files changed

+7
-228
lines changed

6 files changed

+7
-228
lines changed

css/main.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gulpfile.js

+3-10
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ var uglify = require('gulp-uglify');
55
var rename = require('gulp-rename');
66
var jade = require('gulp-jade');
77
var babel = require('gulp-babel');
8+
var minify = require('gulp-minify');
89
var browserSync = require('browser-sync').create();
910

1011
/**
@@ -25,16 +26,6 @@ gulp.task('sass', function () {
2526
.pipe(browserSync.stream());
2627
});
2728

28-
/**
29-
* Build jade files to html
30-
*/
31-
gulp.task('jade', function () {
32-
// return gulp.src('*.jade')
33-
// .pipe(jade())
34-
// .pipe(gulp.dest('.'))
35-
// .pipe(browserSync.stream());
36-
});
37-
3829
/**
3930
* compile es6
4031
*/
@@ -43,9 +34,11 @@ gulp.task('babel', function () {
4334
.pipe(babel({
4435
presets: ['es2015']
4536
}))
37+
.pipe(minify())
4638
.pipe(gulp.dest('js'));
4739
});
4840

41+
4942
/**
5043
* Watch scss files for changes & recompile
5144
* Watch html/md files, run jekyll & reload BrowserSync

index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@
152152
<script src="lib/zepto.min.js"></script>
153153
<script src="lib/vue.js"></script>
154154

155-
<script src="js/index.js"></script>
155+
<script src="js/index-min.js"></script>
156156

157157
<script type="text/javascript">
158158
var _gaq = _gaq || [];

0 commit comments

Comments
 (0)