Skip to content

Instantly share code, notes, and snippets.

@JohannesFerner
Created February 26, 2014 09:01
Show Gist options
  • Save JohannesFerner/9226152 to your computer and use it in GitHub Desktop.
Save JohannesFerner/9226152 to your computer and use it in GitHub Desktop.
// Less project settings, you can edit it and set custom settings.
{
// The mappings of source directory and output directory
"mappings": [
{
"src": "styles/main.less",
"dest": "css/main.css"
},
{
"src": "js/main.js",
"dest": "main.min.js"
}
],
// Add the ignore rules that Koala will not search them.
// e.g. ["*.json", "*.txt", "test", "path/libs"]
"ignores": ["*.css"],
// Compile options of LESS.
"options": {
// Output style. Can be normal (default), compress.
"outputStyle": "normal",
// Outputs filename and line numbers, which will output the debug info within comments.
"lineComments": true,
// Outputs filename and line numbers, which will output the information within a fake media query which is compatible with the SASS format.
"debugInfo": false,
"strictMath": false,
"strictUnits": false,
"sourceMap": true
},
// Other compile options.
// e.g, ["--strict-imports", ... ,"--rootpath=URL"].
// Run the command 'lessc -h' to see more options.
"customOptions": [],
// An array of filesystem paths or importers which should be searched for LESS templates imported with the @import directive.
"includePaths": []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment