-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
less does not handle relative paths when used with express.js #177
Comments
+1, this is pretty annoying |
Still annoying. |
I have this issue too, can you make a fix? css/ b.less: css> lessc b/b.less I use less.js on the development side, but when on prodution i use the compiled files. Any update on this? Thx and congratz on the great work so far! |
Still here I see, but is this a less.js problem or an Express thing...? |
less problem, i dont use Express. |
above, this is resovled by current master branch, please replace your npm install less version, directly use less master branch. it's work for me. nodejs 6.1 |
eager to see this work |
Great, thx a lot, ill test it. |
Express does not complies my less styles app.configure(function(){ |
@ricardovf is that working ? |
@anandrc have you tried setting |
I have less 1.3.0, and my compiler is set to:
To make the imports work, I cannot use relative urls, I have to change them all to the following to make it work:
Otherwise it will just state [Object object] in the css. |
Is there no fix for this? |
using #331 as the central issue for this, closing as duplicate |
Include the instance name in the rule id (fixes less#177)
Using
less
as an compiler will break with relative import statements in.less
files, see: http://stackoverflow.com/questions/4618257/node-js-express-js-how-to-render-less-css/4635200#4635200The text was updated successfully, but these errors were encountered: