Rename css into scss

This commit is contained in:
Roman Hotsiy 2015-11-22 14:08:28 +02:00
parent 418dc6316d
commit 5bf1e62c75
14 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
module.exports = {
source: 'lib/**/*.js',
html: 'lib/**/*.html',
css: 'lib/**/*.css',
scss: 'lib/**/*.scss',
sourceEntryPoint: 'lib/index.js',
outputName: 'redoc.full.js',
output: 'dist/',

View File

@ -35,7 +35,7 @@ var JS_DEV_DEPS = [
];
gulp.task('sass', function () {
return gulp.src(paths.css, { base: './' })
return gulp.src(paths.scss, { base: './' })
.pipe(sass.sync().on('error', sass.logError))
.pipe(gulp.dest(paths.tmp));
});

View File

@ -9,6 +9,6 @@ function changed(event) {
gulp.task('watch', ['build'], function () {
gulp.watch([ paths.source ], [ 'bundle', browserSync.reload ]).on('change', changed);
gulp.watch([ paths.html ], [ 'bundle', browserSync.reload]).on('change', changed);
gulp.watch([ paths.css ], [ 'bundle', browserSync.reload]).on('change', changed);
gulp.watch([ paths.scss ], [ 'bundle', browserSync.reload]).on('change', changed);
gulp.watch([ paths.demo ], [ '', browserSync.reload ]).on('change', changed);
});