Some checks failed
CI / go (push) Waiting to run
CI / docker (push) Waiting to run
CI / lint-go (push) Waiting to run
CI / lint-docs (push) Waiting to run
CI / check-paperclip (push) Waiting to run
Deploy static site / Deploy to GitHub Pages (push) Has been cancelled
Deploy static site / Deploy via Docker to hatch.surf (push) Has been cancelled
Resolved conflicts by taking GitHub versions for: - .dockerignore, .gitignore, Dockerfile, README.md, docker-compose.yml Kept deploy.sh updated to: - Pull from GitHub (primary source) - Push to Gitea (push-mirror) - Build from site/ directory (GitHub structure) Co-Authored-By: Paperclip <noreply@paperclip.ing>
29 lines
1.3 KiB
TypeScript
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 {};
|