Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for import relative path for url with parameters #2254

Merged
merged 1 commit into from
Nov 1, 2014

Conversation

dexif
Copy link
Contributor

@dexif dexif commented Oct 29, 2014

We generate final less file by script on server with parameters like blah1/blah2/blah_pack.script?use=/less/src in generated final less file we import ./variables.less with relative path.
In older version of less.js it's works fine. But in 2.0.0 it's broken.

less.js tries to load variables.less by url blah1/blah2/blah_pack.script?use=/less/variables.less but it's wrong

@lukeapage
Copy link
Member

Thanks, looks good.

lukeapage added a commit that referenced this pull request Nov 1, 2014
Fix for import relative path for url with parameters
@lukeapage lukeapage merged commit 8a1403b into less:master Nov 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants