gruntjs / grunt-contrib-copy

Copy files and folders.
http://gruntjs.com/
MIT License
727 stars 194 forks source link

flatten doesn't work without expand #266

Open jenrik opened 8 years ago

jenrik commented 8 years ago

Enabling flatten does nothing when expand is disabled Tested with the following settings

{
  copy: {
    css: {
      expand: false,
      flatten: true,
      src: [
        'bower_components/normalize-css/normalize.css'
      ],
      dest: 'source/css/vendor/'
    }
  }
}
dkurucz commented 8 years ago

Glad to see this issue is getting some attention, having the same problem myself...

ururk commented 8 years ago

This happens to me as well

aderowbotham commented 7 years ago

Nowhere is it explained what 'expand' does. Every example has expand: true. What does expand mean?