UNPKG

@teambit/bundler

Version:
13 lines (12 loc) 685 B
import type { DependencyResolverMain } from '@teambit/dependency-resolver'; import type { ExecutionContext } from '@teambit/envs'; type GroupIdContextMap = Record<string, ExecutionContext[]>; /** * de-duping dev servers by the amount of type the dev server configuration was overridden by envs. * This will split the dev server to groups of dev server that share the same webpack config, and same peer dependencies * @param contexts * @param dependencyResolver * @param dedicatedEnvDevServers */ export declare function dedupEnvs(contexts: ExecutionContext[], dependencyResolver: DependencyResolverMain, dedicatedEnvDevServers?: string[]): Promise<GroupIdContextMap>; export {};