Added ability to change relative paths according to path to root .less file. (#119)#291
Added ability to change relative paths according to path to root .less file. (#119)#291Nodge wants to merge 19 commits intoleafo:masterfrom
Conversation
|
Why re-parse the url out of what's already been parsed and compiled? |
This comment has been minimized.
This comment has been minimized.
|
I like this as well. Would be nice to have it in the package rather than manually editing the file. |
|
Does this support of relative links will be integrated one day ? |
|
note that less.js 1.3.2 implemented a similar feature |
: allows url with params (file.css?param=sample)
Improving the ability to change relative paths according to path to root
…oot: Allow to manually set base url path (useful for generating css on the fly)
Conflicts: lessc.inc.php
|
This pull request should be merged, ability to change relative paths according to root path, is very usefull to manage & parse assets efficiently |
There was a problem hiding this comment.
By default, it should not rewrite to be consistent with the behavior of latest less.js
behavior of latest less.js Add setter to define allowUrlRewrite
Set allowUrlRewrite default to false to be consistent with the behavior of latest less.js
|
Url rewriting option is false by default now, (as less.js), so this pull request don't change the default behavior. |
|
Is there any chance that this PR will be accepted, or should we found an another solution (if exists) to manage relative path ? |
Conflicts: lessc.inc.php
Support an extra parameter to change relative paths in url() statement. Enabled by default.