//詳細(xì)配置信息請(qǐng)參考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'
}
]
};