Skip to content

Commit 01843f1

Browse files
committed
add source map config to README
1 parent afc6c38 commit 01843f1

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,19 @@ This should essentially be a drop in alternative to [sass-rails](https://github.
2424

2525
__Note: This is a new project, please report any issues you come across!__
2626

27+
## Inline Source Maps
28+
29+
With SassC-Rails, it's also extremely easy to turn on inline source maps. Simply
30+
add the following configuration to your development.rb file:
31+
32+
```ruby
33+
# config/environments/development.rb
34+
config.sass.inline_source_maps = true
35+
```
36+
37+
Note, as indicated, these source maps are *inline*. They will not generate additional
38+
files or anything like that. Instead, they will be appended to the compiled
39+
application.css file.
2740

2841
## LibSass Compatibility With Ruby Sass
2942

0 commit comments

Comments
 (0)