Update
Part of the problem is that front/styles
contains both css and scss files. I only want to copy css files.
Original
So the copy
task from grunt-contrib-copy
should be doing one thing. Copying all the *.css
files from front/styles
and move them to front/build/styles
copy: {
css: {
files: {
src: ['front/styles/*.css'],
dest: 'front/build/styles/',
filter: 'isFile'
}
}
},
I run grunt copy
and it creates a folder called dest
in the same level as the front
folder. I go in to front/build/styles
and nothing is there. This is a relatively easy task to config and have done so in the past but this is baffling to me.
What am I overlooking in the config?