You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 23, 2021. It is now read-only.
@@ -45,7 +45,19 @@ Note: gulp-ruby-sass only compiles Sass; it won't watch your files. If you want
45
45
Type: `Boolean`
46
46
Default: `false`
47
47
48
-
Enable Source Map. **Requires Sass 3.3.0**
48
+
Enable Source Map. **Requires Sass >= 3.3.0 and the [`dest` option](#dest).**
49
+
50
+
51
+
##### sourcemapPath
52
+
53
+
Type: `string`
54
+
55
+
A relative path from the output CSS directory to the Sass source directory as seen by your web server.
56
+
57
+
Because gulp-ruby-sass can't know your CSS destination directory or your server setup you have to give a little extra information to help the browser find sourcemaps. Examples:
58
+
59
+
- If source is `site/scss`, destination is `site/css`, and you're serving from `site`: `{ sourcemapPath: '../scss' }`.
60
+
- If source is `app/styles`, destination is `.tmp/styles`, and you're serving both `.tmp` and `app`: `{ sourcemapPath: '.' }`.
0 commit comments