The grunt-contrib-less package provides the option compress, that should allow managing uglifying/minifying/compression of the destination CSS file. It is a boolean with the default value false.
For any reason it woesn't work for me -- whatever I…
In grunt-contrib-stylus there is a import option:
import
Type: Array
Import given stylus packages into every compiled .styl file, as if you wrote '@import '...' in every single one of said files.
options: {
compress: false,
…
I have a file structure that looks like this (simplified for brevity):
/less/
/styles.less
/public/
/css/
/styles.css
/styles.css.map
/images/
index.php
/gruntfile.js
Gruntfile.js:
less: {
…
I am using grunt-contrib-less for compiling less files.
I have grunt locally installed at root of project folder.
The css files are located at qa1/avinash/html5/phase1/css/ path from root of project folder.
So this is the path i am specifying for…
Been happily working with LESS for weeks now, using grunt-contrib-less (version 0.11.4) dependency in my package.json and initializing it in the gruntfile. The map is generated inline at the end the final minified styles.css.
I was pulled away from…
Is there a way to prevent grunt-contrib-less from compiling files that have an underscore?
I have a set of files which are being imported in the main file. The imported files have a been prefixed with an underscore @import "_fileone" but because im…
I'm trying to compile a set of .less files, and generate individual source maps in the process. I have about 20 source files currently, and so I'm using dynamic expansion to load them all in.
I would then like the file compiled to css (works), and…
When trying to compile less, I am getting a missing NameError: variable @brand-success is undefined in app/static/css/less/style.less on line 131, column 15:. However, it is app/bower_components/bootstrap/less/variables.less which is imported by…
I am attempting to use the grunt-contrib-less grunt task to compile my less files to css. What I would like to do is compile them inline, so that each .less file creates a single .css file.
Workflow:
1) Initial file system:
someFolder2
…
Title says it all. Is this Less option:
http://lesscss.org/usage/#command-line-usage-source-map-map-inline
Available via grunt-contrib-less, or some other plugin? I'm not hopeful since it does not seem be mentioned anywhere in the grunt-contrib-less…
Good day!
As I can configure grunt to monitor a dynamic path, I explain, I have a path (/module/[namemodule]/assets/*.less), in the namemodule part it changes, it can be anything (name) how can I have the assets folder of all the modules monitored…