Files
voyage/apps/public-web/node_modules/next/dist/build/create-compiler-aliases.d.ts
PascalSchattenburg d147843c76 feat(blog): add file-based blog with dynamic slugs, MDX content and layout shell
- Introduced blog routing using Next.js App Router
- Implemented dynamic [slug] pages for blog posts
- Added MDX-based content loading via lib/posts
- Integrated shared TopBar layout with navigation
- Established clear content, lib and component separation
2026-01-22 14:14:15 +01:00

29 lines
1.3 KiB
TypeScript

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 {};