can we define Grunt subtask inside another subtask? I tried as follows and its not work.
copy: {
general : {
fonts : {
src: ['<%=src.font %>'],
dest: '<%= distdir %>/assets/fonts',
expand: true,
flatten: true,
filter: 'isFile'
}
}
}
Thanks.