Currently facing an issue with altering the .css output path to a specific file in a compass project.
Imagine having a directory structure like this:
/
..Fonts
..Folder
..Images
..Sass
.._mixins.scss
..[other_stuff]
..Styles
..config.rb
Here's the config.rb
:
http_path = "/"
css_dir = "Styles"
sass_dir = "Sass"
images_dir = "Images"
javascripts_dir = "Scripts"
fonts_dir = "Fonts"
output_style = :nested
relative_assets = true
color_output = false
Aim
The goal is to utilize sass within the "Folder" directory, meaning that an example.scss file should be compiled into example.css inside "Folder". However, I also need to use compass with relative url helpers and mixins defined in "Sass/_mixins.scss".
Issue
The challenge lies in specifying a different output path for example.scss since the output path for scss is already set in config.rb (Styles). I attempted adding some ruby code to config.rb to move example.css from "Styles" to "Folder" after compilation, but this caused issues with relative image-url() not functioning as expected.
Possible Solution?
Therefore, my question is: what would be the most effective approach or workaround to achieve this desired outcome?