Skip to content

Commit be85dc2

Browse files
Merge pull request #63 from darlanmendonca/libsass
use libsass instead ruby sass
2 parents 15d8e71 + 0ce0863 commit be85dc2

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@ Install dependencies:
1919

2020
$ cd angular-material-dashboard
2121
$ npm install
22-
23-
Install gem 'sass'
24-
25-
$ gem install sass
2622

2723
Run development web-server:
2824

gulp/styles.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ var gulp = require('gulp');
55
var paths = gulp.paths;
66

77
var $ = require('gulp-load-plugins')();
8+
// var sass = require('gulp-sass');
89

910
gulp.task('styles', function () {
1011

@@ -39,7 +40,8 @@ gulp.task('styles', function () {
3940
.pipe(indexFilter)
4041
.pipe($.inject(injectFiles, injectOptions))
4142
.pipe(indexFilter.restore())
42-
.pipe($.rubySass(sassOptions)
43+
.pipe($.sass(sassOptions)
44+
// .pipe($.rubySass(sassOptions)
4345
.on('error', function (err) {
4446
console.error('Error!', err.message);
4547
})

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"gulp-replace": "~0.5.0",
2727
"gulp-rev": "~2.0.1",
2828
"gulp-rev-replace": "~0.3.1",
29-
"gulp-ruby-sass": "~0.7.1",
29+
"gulp-sass": "^3.1.0",
3030
"gulp-size": "~1.1.0",
3131
"gulp-uglify": "~1.0.1",
3232
"gulp-useref": "~1.0.2",

0 commit comments

Comments
 (0)