私のプロジェクト構造はかなり複雑で、jsp/js/css ファイルが混在しています。
build.js では 'dir' と 'modules' を使用します。出力フォルダーには baseUrl で始まるすべてが含まれます。これは何千ものファイルとフォルダーですが、'modules' ディレクティブで指定されたビルド レイヤー ファイルはほとんど必要ありません。
非ビルドレイヤーファイルを「dir」フォルダーにコピーしない方法はありますか?
遅い回答ですが、 removeCombined オプションを試すことができます。https://github.com/jrburke/r.js/blob/master/build/example.build.js#L349を参照してください。
以下は、上記の URL のスニペットです。
//If set to true, any files that were combined into a build bundle will be
//removed from the output folder.
removeCombined: false,