【发布时间】:2016-09-28 08:55:49
【问题描述】:
grunt.config('sass', {
options: {
sourceMap: true
},
dist: {
options: {
outputStyle: 'compact'
},
files: {
'/css/site.css': 'main/scss/site.scss',
'/css/template.home.css': 'main/scss/templates/home.scss'
'/css/template.contact.css': 'main/scss/templates/contact.scss'
'/css/template.something.css': 'main/scss/templates/something.scss'
}
}
});
有什么方法可以很好地处理这部分(正在考虑一种模式,但我不确定可能性)
'/css/template.home.css': 'main/scss/templates/home.scss'
'/css/template.contact.css': 'main/scss/templates/contact.scss'
'/css/template.something.css': 'main/scss/templates/something.scss'
【问题讨论】:
-
“处理这部分”?
-
是的@ClasG 我想将这三行减少为一行,因为我还需要添加其他几行。谢谢
标签: regex node.js sass gruntjs