Sass Source Map in Rails 5
Asked Answered
H

1

7

Trying to figure out why I can’t get source maps working in Rails 5. Rails 5 uses Sass 3.4.2x, so it seems like it shouldn’t have the problem previous versions of Rails had.

I’ve added the following to config/environments/development.rb

# Enable source maps for Sass
config.sass.inline_source_maps = true
Handcrafted answered 12/2, 2016 at 19:16 Comment(0)
R
-1

In your Gemfile

Remove

gem 'sass-rails'

Add

gem 'sassc-rails'

Enjoy Source Maps

Remember answered 17/7, 2018 at 19:14 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.