Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

去除 babel

  • Loading branch information
pinggod committed Jan 21, 2016
1 parent f84730a commit ce13ed6107ed7de95cc852abae4f9e86171535ef
Showing with 17 additions and 44 deletions.
  1. +0 −3 .babelrc
  2. +0 −10 .editorconfig
  3. +0 −3 README.md
  4. +0 −26 gulpfile.babel.js
  5. +17 −0 gulpfile.js
  6. +0 −2 package.json

This file was deleted.

This file was deleted.

@@ -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

This file was deleted.

@@ -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']);
});
@@ -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",

0 comments on commit ce13ed6

Please sign in to comment.
You can’t perform that action at this time.