build: {
src: 'src/<%= pkg.name %>.js',
dest: 'build/<%= pkg.name %>.min.js'
}
build: {
src: 'src/*.js',
dest: 'build/<%= pkg.name %>.min.js'
}
copy: {
dist: {
files: [{
expand: true,
dot: true,
cwd: 'dist',
dest: 'dist/',
src: [
'{,*/}*.html'
],
rename: function(dest, src) {
return dest + src.replace('.html','.php');
}
}]
}
},