//详细配置信息请参考http://gitlab.ztesoft.com/fish/fish-cli/wikis/fish-config
module.exports = {
build: [{
match: ['LESS/spcp-proj/spcp-proj-all.less'], //编译文件路径
transfer: 'less | cssmin | concat', //编译方式:concat(合并)、uglify(压缩js)、less(编译less)、cssmin(压缩css)、image(压缩图片)、sourceMap(生成sourceMap)
filename: 'spcp-proj-all.min.css', //编译后文件名minify.js
dest: 'LESS/css/spcp/' //编译输出路径
}, {
match: ['LESS/spcp-proj/spcp-proj-all.less'],
transfer: 'less | concat ',
filename: 'spcp-proj-all.css',
dest: 'LESS/css/spcp'
}, {
match: ['LESS/spcp-proj/spcp-proj-all.less'],
transfer: 'less | cssmin | concat',
filename: 'spcp-proj-all.min.css',
dest: 'styles/css'
},
{
match: ['LESS/spcp-proj/login.less'], //编译文件路径
transfer: 'less | cssmin | concat', //编译方式:concat(合并)、uglify(压缩js)、less(编译less)、cssmin(压缩css)、image(压缩图片)、sourceMap(生成sourceMap)
filename: 'login.min.css', //编译后文件名minify.js
dest: 'LESS/css/spcp/' //编译输出路径
}, {
match: ['LESS/spcp-proj/login.less'],
transfer: 'less | concat ',
filename: 'login.css',
dest: 'LESS/css/spcp'
}, {
match: ['LESS/spcp-proj/login.less'],
transfer: 'less | cssmin | concat',
filename: 'login.min.css',
dest: 'styles/css'
}, {
match: ['LESS/spcp-proj/login.less'],
transfer: 'less | concat ',
filename: 'login.css',
dest: 'styles/css'
},
{
match: ['LESS/spcp-proj/portal.less'], //编译文件路径
transfer: 'less | cssmin | concat', //编译方式:concat(合并)、uglify(压缩js)、less(编译less)、cssmin(压缩css)、image(压缩图片)、sourceMap(生成sourceMap)
filename: 'portal.min.css', //编译后文件名minify.js
dest: 'LESS/css/spcp/' //编译输出路径
}, {
match: ['LESS/spcp-proj/portal.less'],
transfer: 'less | concat ',
filename: 'portal.css',
dest: 'LESS/css/spcp'
}, {
match: ['LESS/spcp-proj/portal.less'],
transfer: 'less | cssmin | concat',
filename: 'portal.min.css',
dest: 'styles/css'
}, {
match: ['LESS/spcp-proj/portal.less'],
transfer: 'less | concat ',
filename: 'portal.css',
dest: 'styles/css'
}
]
};