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
I'm working on a project with Sinatra + Sinatra-Assetpack, but the I can't seem to specify the SASS compression style. I've added css_compression :sass, :style => :compressed to the end of my assets configuration block, but the outputted CSS is not compressed. Setting any other value for the :style option doesn't work either.
I've already seen this StackOverflow post, but it wasn't helpful. I also couldn't find any information anywhere else.
I've made a sample projects with the following files:
I'm working on a project with Sinatra + Sinatra-Assetpack, but the I can't seem to specify the SASS compression style. I've added
css_compression :sass, :style => :compressed
to the end of my assets configuration block, but the outputted CSS is not compressed. Setting any other value for the:style
option doesn't work either.I've already seen this StackOverflow post, but it wasn't helpful. I also couldn't find any information anywhere else.
I've made a sample projects with the following files:
Here are the contents of each file.
app.rb:
index.erb:
styles.scss:
The outputted
styles.css
file looks like this:This output corresponds to the default
:nested
output style, not the:compressed
output style.Setting the compression type to
:styles => :expanded
produces the same result, as does removing the option altogether.Has anyone else experienced a similar issue? If so, how did you resolve it?
The text was updated successfully, but these errors were encountered: