message: Validate the minEntrypoints argument for shared and shell merge strategy functions.
diff: @@ -193,6 +193,9 @@ export function generateSharedDepsMergeStrategy(minEntrypoints?: number):
  if (minEntrypoints === undefined) {
  minEntrypoints = 2;
  }
  + if (minEntrypoints < 0) {
  + throw new Error(`Minimum entrypoints argument must be non-negative`);
  + }
  return generateMatchMergeStrategy(
  (b) => b.entrypoints.size >= minEntrypoints && !getBundleEntrypoint(b));
  }
  @@ -206,6 +209,9 @@ export function generateShellMergeStrategy(
  if (minEntrypoints === undefined) {
  minEntrypoints = 2;
  }
  + if (minEntrypoints < 0) {
  + throw new Error(`Minimum entrypoints argument must be non-negative`);
  + }
  return composeStrategies([
  generateEagerMergeStrategy(shell),
  generateMatchMergeStrategy(
  