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
Yes, the documentation provides you with several ways of doing this:
require and their own dependencies will be included./other/ is a dependency but you still don't want them in, you can use shallow exceptions, or define them in the require.js config paths and use the empty: scheme.