Closed sbay closed 10 years ago
That sounds more like a replacePath
option. Would that be hard to implement?
Pretty sure it's just adding that to the options, putting an if statement around your newly added code block, and update to use the new option value.
@tbranyen Just pushed the new code with your proposed scenario.
Perfect, thanks for the help!
If style rules include relative paths in its URLs and we are using a "forceRelative" option, we should really only apply the file name to the forceRelative path.
Example: forceRelative: "/app/images/" background: url('../some/folder/bg.jpg');
should really compile to: background: url('/app/images/bg.jpg')
and not background: url('/app/images/../some/folder/bg.jpg')