Skip to content

Commit

Permalink
Dont merge isolated child assets (#8527)
Browse files Browse the repository at this point in the history
* Dont pre merge isolated child assets
  • Loading branch information
AGawrys committed Oct 11, 2022
1 parent de15695 commit e3a39a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/bundlers/experimental/src/ExperimentalBundler.js
Expand Up @@ -512,7 +512,8 @@ function createIdealGraph(
if (
entries.has(bundleGroupRootAsset) &&
bundleGroupRootAsset.type === childAsset.type &&
childAsset.bundleBehavior !== 'inline'
childAsset.bundleBehavior !== 'inline' &&
dependency.bundleBehavior !== 'isolated'
) {
bundleId = bundleGroupNodeId;
}
Expand Down

0 comments on commit e3a39a1

Please sign in to comment.