My goal is to configure my CSS output file in the config.rb file to be located at the root level of my main directory and named "style.css". Everything works fine when I set all the filepaths in config.rb like this:
http_path = "/"
css_dir = "assets/css"
sass_dir = "assets/sass"
images_dir = "assets/images"
javascripts_dir = "assets/js"
fonts_dir = "assets/fonts"
output_style = :compressed
environment = :development
However, since I develop many WordPress websites locally, I need the css_dir = "assets/css"
to be set at the root of the main directory with the name style.css. When I try using css_dir = "/"
, it breaks and does not output my style.css
to the root.
Does anyone have suggestions on how I can achieve this without having to manually move the output from assets/css/style.css to the root upon deployment? This manual process is not efficient or ideal for my workflow, so I'm seeking a simpler solution that should be an available option.
I also attempted Chris Coyier's suggestion mentioned here, but it did not work either: http://css-tricks.com/compass-compiling-and-wordpress-themes/