Auto-commit 2026-04-29 16:31

This commit is contained in:
2026-04-29 16:31:27 -04:00
parent e8687bb6b2
commit 0495ee5bd2
19691 changed files with 3272886 additions and 138 deletions

View File

@@ -0,0 +1,28 @@
import { type WebpackLayerName } from '../lib/constants';
import type { NextConfigComplete } from '../server/config-shared';
interface CompilerAliases {
[alias: string]: string | string[];
}
export declare function createWebpackAliases({ distDir, isClient, isEdgeServer, dev, config, pagesDir, appDir, dir, reactProductionProfiling, }: {
distDir: string;
isClient: boolean;
isEdgeServer: boolean;
dev: boolean;
config: NextConfigComplete;
pagesDir: string | undefined;
appDir: string | undefined;
dir: string;
reactProductionProfiling: boolean;
}): CompilerAliases;
export declare function createServerOnlyClientOnlyAliases(isServer: boolean): CompilerAliases;
export declare function createNextApiEsmAliases(): Record<string, string>;
export declare function createAppRouterApiAliases(isServerOnlyLayer: boolean): Record<string, string>;
type BundledReactChannel = '' | '-experimental';
export declare function createVendoredReactAliases(bundledReactChannel: BundledReactChannel, { layer, isBrowser, isEdgeServer, reactProductionProfiling, }: {
layer: WebpackLayerName;
isBrowser: boolean;
isEdgeServer: boolean;
reactProductionProfiling: boolean;
}): CompilerAliases;
export declare function getOptimizedModuleAliases(): CompilerAliases;
export {};