Skip to content
This repository has been archived by the owner on Mar 26, 2021. It is now read-only.

Commit

Permalink
去除 babel
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Sun committed Jan 21, 2016
1 parent f84730a commit ce13ed6
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 44 deletions.
3 changes: 0 additions & 3 deletions .babelrc

This file was deleted.

10 changes: 0 additions & 10 deletions .editorconfig

This file was deleted.

3 changes: 0 additions & 3 deletions README.md
Expand Up @@ -41,6 +41,3 @@ git pull

Markdown 生成的标签暂时比较简单,所以提供了一些 HTML 标签来标识特殊样式,详见 [custrom-blocks](https://github.com/pinggod/hexo-theme-apollo/blob/master/doc/custom-blocks.md)

## License

MIT
26 changes: 0 additions & 26 deletions gulpfile.babel.js

This file was deleted.

17 changes: 17 additions & 0 deletions gulpfile.js
@@ -0,0 +1,17 @@
var gulp = require('gulp');
var sass = require('gulp-sass');
var autoprefixer = require('gulp-autoprefixer');

// 一次性编译 Sass
gulp.task('sass', function() {
return gulp.src('./source/scss/*.scss')
.pipe(sass({outputStyle: 'compressed'}))
.pipe(autoprefixer())
.pipe(gulp.dest('./source/css'));
});

// 实时编译
gulp.task('default', ['sass'], function() {
gulp.watch('./source/scss/_partial/*.scss', ['sass']);
gulp.watch('./source/scss/*.scss', ['sass']);
});
2 changes: 0 additions & 2 deletions package.json
Expand Up @@ -22,8 +22,6 @@
},
"homepage": "https://github.com/pinggod/hexo-theme-apollo#readme",
"devDependencies": {
"babel-core": "^6.2.1",
"babel-preset-es2015": "^6.1.18",
"gulp": "^3.9.0",
"gulp-autoprefixer": "^3.0.2",
"gulp-sass": "^2.0.4",
Expand Down

0 comments on commit ce13ed6

Please sign in to comment.