grunt-bower-task icon indicating copy to clipboard operation
grunt-bower-task copied to clipboard

production feature doesn't work when set to true

Open AidasK opened this issue 11 years ago • 2 comments

Add option to install only production files, skip devDependencies. bower install --production

AidasK avatar Jan 06 '14 12:01 AidasK

I might be wrong but doesn't

bower: {
  install: {
    options: {
      bowerOptions: {
        production: true
      }
    }
  }
}

do it for you?

dotnetCarpenter avatar Feb 05 '14 09:02 dotnetCarpenter

bowerOptions: {
  production: true
}

doesn't seem to work. The task still distributes the layout of devDependencies.

cbayram avatar Feb 17 '16 16:02 cbayram