This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = function(grunt){ | |
grunt.initConfig({ | |
pkg:grunt.file.readJSON("package.json"), | |
less:{ | |
//必包含的less文件,合并到内的,合并的文件的内容会比component内的文件内容先出现 | |
options:{ | |
concat:true, //合并 | |
paths:"source/less",//路径 | |
imports:{ | |
less:["basic.less"]//需要合并的less文件名 |