Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sass compile results in css file with correct image paths, .min.css file incorrect #615

Closed
onepartscissors opened this issue May 5, 2017 · 1 comment
Labels

Comments

@onepartscissors
Copy link

onepartscissors commented May 5, 2017

i'm getting the following error when i try and minify a css file that's been created via a sass file. Only happening since updating to 2.1.3.

sass file:

.label_size_illustration {
  background-image: url(../images/graphic.jpg);
}

.css comes out 100% right:

.label_size_illustration {
  background-image: url(../images/graphic.jpg);
}

.min.css - add a weird extra specific path:

.label_size_illustration{background-image:url(../../../../../../../../../../Applications/Koala.app/Contents/Resources/images/graphic.jpg)}

I have tried compress and yui_compress, same path in the min.css.

config.rb:


Encoding.default_external = "utf-8"
require 'compass/import-once/activate'
css_dir = "css"
sass_dir = "sass"
images_dir = "images"
generated_images_dir = "images"
http_images_dir = "images"
http_images_path = "images"
javascripts_dir = "js"
output_style = :expanded
environment = :development
relative_assets = true
line_comments = false

I can remove all these from config.rb, same issue. i can comment out the image related lines, none of this changes anything.

@onepartscissors
Copy link
Author

Thank you for the quick response, and a really awesome app! I love it! :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants