assets-loader icon indicating copy to clipboard operation
assets-loader copied to clipboard

Css concatenation breaks paths if concatenated css is at a different path to source css.

Open edeustace opened this issue 10 years ago • 0 comments

If you have a folder like:

/css
  one.css
  two/
    two.css
    img.png

and in two.css you have:

.style {
  background-image: url('img.png')
}

After concatenation the css will break because it's trying to load 'img.png' from a file called: css/css-1111.css.

That is - the paths aren't maintained.

edeustace avatar Mar 09 '14 14:03 edeustace