lessphp icon indicating copy to clipboard operation
lessphp copied to clipboard

Added ability to change relative paths according to path to root .less file. (#119)

Open Nodge opened this issue 13 years ago • 8 comments

Support an extra parameter to change relative paths in url() statement. Enabled by default.

Nodge avatar Aug 17 '12 16:08 Nodge

Why re-parse the url out of what's already been parsed and compiled?

leafo avatar Aug 17 '12 17:08 leafo

This pull request passes (merged d3161a06 into 4182e424).

travisbot avatar Aug 18 '12 12:08 travisbot

I like this as well. Would be nice to have it in the package rather than manually editing the file.

andrew13 avatar Sep 14 '12 01:09 andrew13

Does this support of relative links will be integrated one day ?

neilime avatar Nov 19 '12 22:11 neilime

note that less.js 1.3.2 implemented a similar feature

stof avatar Jan 03 '13 14:01 stof

This pull request should be merged, ability to change relative paths according to root path, is very usefull to manage & parse assets efficiently

neilime avatar Feb 22 '13 10:02 neilime

Url rewriting option is false by default now, (as less.js), so this pull request don't change the default behavior.

neilime avatar Feb 25 '13 10:02 neilime

Is there any chance that this PR will be accepted, or should we found an another solution (if exists) to manage relative path ?

neilime avatar May 07 '13 12:05 neilime