How do I remove comments using the RequireJS optimizer?

Viewed 5812

I am trying to remove copyright comments from my optimized script files. We are using RequireJS with the default UglifierJS. I looked into Uglifier which in itself has a flag called -nc or --no-comments, but it does not seem like RequireJS lets you set that option in the build profile. Is there anyway to do this?

1 Answers
Related