More accurate sourcemap documentation

This commit is contained in:
Sam Richard 2015-03-26 19:50:02 -04:00
parent 7684cf165a
commit ebe2646a2e

View file

@ -56,7 +56,7 @@ gulp.src('./scss/*.scss')
.pipe(gulp.dest('./css')); .pipe(gulp.dest('./css'));
``` ```
By default, [gulp-sourcemaps](https://github.com/floridoo/gulp-sourcemaps) writes the source maps inline in the compiled CSS files. To write them to a separate file, specify a relative file path in the `sourcemaps.write()` function. By default, [gulp-sourcemaps](https://github.com/floridoo/gulp-sourcemaps) writes the source maps inline in the compiled CSS files. To write them to a separate file, specify a path relative to the `gulp.dest()` destination in the `sourcemaps.write()` function.
```javascript ```javascript
var sourcemaps = require('gulp-sourcemaps'); var sourcemaps = require('gulp-sourcemaps');