Comments (7)
@Piedone commented on Sep 16, 2013:
It seems settings the directory is not trivial: dotless/dotless#204 I'll take a look but if you have a solution already don't keep it to yourself :-) (the DotLess code in Combinator is very simple, see LessPreprocessor).
from combinator.
Dunross commented on Sep 16, 2013 :
Yep, it appears to be nontrivial.. :-/ I haven't made a fix unfortunately - I precompile the LESS files in other tools instead. It would be nice to have it working, but I'm too busy working on other modules now.. :-(
from combinator.
@Piedone commented on Sep 16, 2013:
Could you describe what exactly the code you're trying is and how it fails? Because I tried just now and it work as expected:
@import "Folder/Test";
This imports the less file under Folder/Test.less.
The only gotcha is that you have to import files without the .less extension added to the path for some reason. If you're using bootstrap.less directly this means you have to provide an alternative version where the .less extensions are stripped, but that's it.
Another issue is BTW that there's no released version of DotLess with Less 1.4 support yet... This also means no Bootstrap 3 usable. Speaking of Bootstrap you might want to take a look at this: https://github.com/Lombiq/Pretty-Good-Bootstrap-Base-Theme
from combinator.
Dunross commented on Sep 16, 2013:
aha, lol, I haven't tried to import it without extensions... :-) However, if there isn't support for BS 3.0, I cannot use it anyway.. :-( But thanks for the investigation!
from combinator.
@Piedone commented on Sep 16, 2013:
I'll update DotLess once it's released.
from combinator.
MattGC commented on May 29, 2015:
Seems a shame that we are still left waiting for a fix.
For now, could we simply look for @import
in the string being parsed and replace with the HostingEnvironment.MapPath(importpath)? That seems to work fine unless I'm missing something.
Matt
from combinator.
kerray commented on Sep 30, 2015:
I'm attempting to use Bootstrap's .less files contained in PJS.Bootstrap, but importing relative paths still fails, and I can't even do it when I strip the ".less" part of the imports... any news on this front please?
from combinator.
Related Issues (20)
- RegexAdjustRelativePaths does not take account of cache file being stored on different url (i.e. blob storage) HOT 11
- Table "Piedone_Combinator_CombinedFileRecord" is locked in sql server HOT 5
- Combinator after clear cache freeze the server HOT 2
- Russian characters becomes "????" after compression HOT 3
- Combinator fails in Redis setup HOT 6
- Same js file gets included multiple times in the combined files HOT 19
- Extra phantom module listed in admin page HOT 4
- CDN configuration from the site general settings is ignored HOT 2
- Invalid URI: The hostname could not be parsed exception HOT 4
- Clustered sites behind load balancer HOT 1
- Project logo HOT 1
- Clear cache for a fresh deployment (COLI-1199) HOT 2
- File is being used by another process (COLI-1216) HOT 1
- Make sets of resources with shared-local mixed resource sets keep order
- Exclusion filters won't take effect with resource sharing if resource is already processed
- Convert relative URLs to absolute ones pointing to the site domain when processing font URLs
- Does not use the ToRootUrlString to ensure port numbers are correct HOT 8
- Bring back ExCSS
- Correctly handle font face sources
- [1.9.1] A tenant could not be started & null exception HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from combinator.