Skip to content

Instantly share code, notes, and snippets.

View linkgod's full-sized avatar

Hsun linkgod

View GitHub Profile
@linkgod
linkgod / Gruntfile.js
Last active December 21, 2015 13:59 — forked from jasya/gruntfile
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文件名