jlitola / play-sass

Sass asset handling for Play Framework 2.0 *DEPRECATED*
MIT License
90 stars 28 forks source link

extending styles with images #21

Closed antonkulaga closed 10 years ago

antonkulaga commented 10 years ago

Where I @extend a style with some background image, like

.someStyle { background-image: url(images/bg.jpg); }

.myStyle{ @extend .someStyle; }

it does not compile until it finds images/bg.jpg The problem is that when compiling it searchers relatively to project directory (not in "assets" or "public"as it should be), so to make it compile I have to either copy images to myplayapp/images or try to avoid inheriting from something with any background

jlitola commented 10 years ago

I was not able to reproduce this with 0.4.0, i.e. extending non-existing image worked just fine. I'm using sass 3.2.19. Is this still an issue?