marcdiethelm / grunt-less-imports Goto Github PK
View Code? Open in Web Editor NEWA grunt task to create LessCSS import statements from a collection of stylesheet files
License: MIT License
A grunt task to create LessCSS import statements from a collection of stylesheet files
License: MIT License
nodeunit's output is not very helpful.
My dest file isn't being populated with the files from the src, even though it finishes with 'Done, without errors'.
Here's my task
less_imports: {
options: {
inlineCSS: false // default: true
},
files: {
'core/less/theme.less': ['core/less/theme/**/*.less']
}
}
Hi, after the latest update our build is broken under node.js v0.10.x since you start using "path.posix" which is not available in node v0.10.
The "engines.node" in package.json should be updated to ">= 0.12.0".
When collecting LESS files from sub-directories, backslashes are used as path delimiter (at least on Windows). Example output:
@import (once) "sub\b.less";
While LESS itself doesn't seem to care, this does not conform to the CSS specification and causes some other tools to interpret the backslash as escape character instead of a URI delimiter. A forward slash "/" should be generated on all platforms, including Windows.
References:
This is a suggestion.
Since this file is tool-generated, I'd like to have a banner automatically added indicating so. I know I can use grunt-banner or other tools to accomplish this, but I think this might be nice to have out of the box.
I don't think it needs to be anything fancy, just some text stating This file was generated by grunt-less-imports
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.