Skip to content

Commit 460fb99

Browse files
committed
improve(sass): added source maps support
1 parent 667cd6a commit 460fb99

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

gulpfile.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ var fnSass = function (path) {
1717
.pipe(plugins.plumber())
1818
.pipe(plugins.filesize()) // .pipe(plugins.size({ showFiles: true }))
1919
.pipe(plugins.concat('main.scss'))
20-
.pipe(plugins.sass())
20+
.pipe(plugins.sass({
21+
sourceComments: 'map'
22+
}))
2123
.pipe(plugins.autoprefixer('last 2 version', 'safari 5', 'ie 8', 'ie 9', 'opera 12.1', 'ios 6', 'android 4'))
2224
.pipe(plugins.filesize()) // .pipe(plugins.size({ showFiles: true }))
2325
.pipe(gulp.dest(config.build + '/assets'));

0 commit comments

Comments
 (0)