In our case though, this does not generate any source maps in the generated application.css, even after removing tmp/cache entirely. This is in development mode.
Diagnosis
In SassC::Rails::Template#config_options, I have verified that inline_source_maps is indeed enabled, which in turn sets the following options:
Looking at the API of sass-embedded, I can't find the aforementioned options though. There are the options source_map and source_map_include_sources instead. Though enabling these does not produce a source map either.
Environment
rails (7.1.3)
sprockets (3.7.2)
sprockets-rails (3.2.2)
dartsass-sprockets (3.1.0)
sassc-embedded (1.70.0)
Many thanks for your wonderful Gem and for having a look at our issue 👍
Problem
According to the documentation, you can enable the generation of inline source maps using the following configuration:
In our case though, this does not generate any source maps in the generated
application.css
, even after removingtmp/cache
entirely. This is in development mode.Diagnosis
In
SassC::Rails::Template#config_options
, I have verified thatinline_source_maps
is indeed enabled, which in turn sets the following options:Looking at the API of
sass-embedded
, I can't find the aforementioned options though. There are the optionssource_map
andsource_map_include_sources
instead. Though enabling these does not produce a source map either.Environment
rails (7.1.3)
sprockets (3.7.2)
sprockets-rails (3.2.2)
dartsass-sprockets (3.1.0)
sassc-embedded (1.70.0)
Many thanks for your wonderful Gem and for having a look at our issue 👍