I am trying to optimize a project with r.js and am confused about how to exclude a certain folder from the copy step. My structure is...
/index.htm /scripts/main
In your build config you can exclude files and folders using the fileExclusionRegExp property.
fileExclusionRegExp
So for you example you would have:
fileExclusionRegExp: /^other$/
This will exclude any folders or files called other.