Skip to content

Commit

Permalink
scss to sass
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphael Brand committed May 19, 2017
1 parent 81c2758 commit 6619ad4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions demo/Gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ gulp.task('css-vendor', function () {
*/
gulp.task('sass', function () {
return gulp.src([
'./app/scss/*.scss'])
'./app/sass/*.sass'])
.pipe(sass()).on('error', sass.logError)
.pipe(gulp.dest('./dist/css'))
.pipe(reload({ stream: true }));
Expand Down Expand Up @@ -73,6 +73,6 @@ gulp.task('default', ['sass', 'templates'], function () {

browserSync(bsConfig);
gulp.watch('./app/js/*.js', ['js']);
gulp.watch('./app/scss/*.scss', ['sass']);
gulp.watch('./app/sass/*.sass', ['sass']);
gulp.watch('./app/*.pug', ['pug-watch']);
});
3 changes: 2 additions & 1 deletion demo/app/index.pug
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ html
script(type='text/javascript', data-main='js/main', src='js/require.js')
body
.container
.jumbotron Hello World
.jumbotron
h1 Hello World
4 changes: 4 additions & 0 deletions demo/app/sass/main.sass
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.jumbotron
h1
color: #ff0

Empty file removed demo/app/scss/main.scss
Empty file.

0 comments on commit 6619ad4

Please sign in to comment.