2
鉴于这种简单的设置:grunt-contrib-concat - 如何在分隔符中包含连接的路径?
concat: {
options: {
stripBanners: false,
separator: '\n/* path to js file */\n'
},
dist: {
src: ['js/*.js'],
dest: 'dist/<%= pkg.name %>-concat.js'
}
}
有什么办法来动态包括在每个隔离器级联的路线?
理想的连结文件应该是:
/* js/file1.js */
var someFunction = function(){
}
/* js/file2.js */
var anotherFunction = function(){
}
我是新来的步兵,任何想法表示赞赏。
谢谢,
Seb。