grunt-contrib-copy
配列内の各オブジェクトに同じ値を使用しています。
nonull: true, expand: true, cwd: 'src'
すべてのオブジェクトを入力する必要がないようにするにはどうすればよいですか?
copy:{
dist:{
files: [
{nonull: true, expand: true, cwd: 'src', src: 'index.html', dest: 'dist'},
{nonull: true, expand: true, cwd: 'src', src: 'eanapi/**', dest: 'dist'},
],
},
},