sass-eyeglass/eyeglass-assets

How to handle prepending paths to asset URLs?

Closed this issue · 1 comments

I’m working on a production project where, in production, assets are all moved to a folder /x/assets for historical reasons.

When compiling with Compass, Rails Asset Pipeline configuration seems to be applied, and this path is prepended to url()s automatically.

(To be clear: During CSS compilation, the assets are not in /x/assets; but in the output CSS, /foo.png needs to become /x/assets/foo.png.)

Is there an approach yet for solving this sort of problem in the Eyeglass ecosystem?

If not, can we discuss it here?

I’m dumb. It’s an eyeglass option:

options.assetsHttpPrefix

whoops