component/builder.js — pull request #29 by karlbohlmark (2012-11-08 17:36:51+00:00)
Title: Fix url rewriting issue when css files are in a subfolder

Currently, given a component.json with the styles section
```
styles: ['css/sub.css']
````
where css/sub,css contains an url reference to a sibling directory
````
url(../images/img.png)
````

the resulting url after rewriting fails to take into account that sub.css is in a subdirectory.