Generate sourcemap for each partial
问题 I'm using the gulp-sass and would like for each partials he manages a sourcemap , I can do this using the less but did not see a way to do this with sass. _partial.scss ( within it have to have a mapfile ). _partial2.scss ( this also ). 回答1: According the specification from sass-lang files starting with a _ are not compilled. See also: https://github.com/sass/node-sass/issues/215 So rename your partials with gulp-rename: var sourcemaps = require('gulp-sourcemaps'); var gulp = require('gulp');