diff --git a/lib/transforms/bundleRequireJs.js b/lib/transforms/bundleRequireJs.js
index <HASH>..<HASH> 100644
--- a/lib/transforms/bundleRequireJs.js
+++ b/lib/transforms/bundleRequireJs.js
@@ -35,6 +35,9 @@ module.exports = function (queryObj) {
                 }
 
                 assetGraph.eachAssetPostOrder(startRelation, {type: ['JavaScriptAmdRequire', 'JavaScriptAmdDefine', 'JavaScriptShimRequire'], to: {type: 'JavaScript'}}, function (asset) {
+                    if (!asset.isLoaded) {
+                        return;
+                    }
                     var clonedAsset = asset.clone();
                     assetsToCleanUp.push(asset);
                     assetsToBundle.push(clonedAsset);
bundleRequireJs transform: Skip assets that haven't been loaded.