domkm / optimus-sass

Sass/SCSS asset loader for Optimus
Eclipse Public License 1.0
6 stars 5 forks source link

Problems loading assets used in Sass file with contextual path #2

Open ianjenkinsii opened 8 years ago

ianjenkinsii commented 8 years ago

Assets like images that are used in the sass files such as background-image: url('../img/this-asset.png'); do not load properly when a contextual path is in use. For example if my site renders two versions of its content athttp://my-example-site.com and at http://my-example-site.com/preview/ the former would get the assets correctly but the site with the preview will not. A 404 is generated when attempting to retrieve this-asset.png