0
People would like to know how to create my css in a single line with Grunt, follow my code below
// Copy source assets to _gh_pages
copy: {
assets: {
files: [
{
expand: true,
cwd: '<%= site.assets %>/public',
src: ['**'],
dest: '<%= site.dest %>/public/'
},
{
expand: true,
cwd: '<%= site.assets %>/root',
src: ['*'],
dest: '<%= site.dest %>/',
rename: function (dest, src) {
dest = dest + src.replace(/^_/, '');
return dest;
}
}
]
}
},