message: Fixed generateShellMergeStrategy to honor minEntrypoints.
diff: @@ -201,17 +201,22 @@ export function generateSharedDepsMergeStrategy(minEntrypoints?: number):
  * bundle for an application shell.
  */
  export function generateShellMergeStrategy(
  - shell: UrlString, minEntrypoints: number): BundleStrategy {
  + shell: UrlString, minEntrypoints?: number): BundleStrategy {
  return (bundles: Bundle[]): Bundle[] => {
  + if (minEntrypoints === undefined) {
  + minEntrypoints = 2;
  + }
  const newBundles = generateSharedDepsMergeStrategy(minEntrypoints)(bundles);
  + const sharedBundles = newBundles.filter(
  + (bundle) => bundle.entrypoints.size >= minEntrypoints);
  + for (const sharedBundle of sharedBundles) {
  const shellBundle = newBundles.find((bundle) => bundle.files.has(shell));
  - const sharedBundle =
  - newBundles.find((bundle) => bundle.entrypoints.size > 1);
  if (shellBundle && sharedBundle && shellBundle !== sharedBundle) {
  newBundles.splice(newBundles.indexOf(shellBundle), 1);
  newBundles.splice(newBundles.indexOf(sharedBundle), 1);
  newBundles.push(mergeBundles([shellBundle, sharedBundle]));
  }
  + }
  return newBundles;
  };
  }
  