securityos/node_modules/next/dist/build/webpack/loaders/next-edge-ssr-loader/index.d.ts

24 lines
776 B
TypeScript

import type webpack from 'webpack';
import type { SizeLimit } from '../../../../../types';
export type EdgeSSRLoaderQuery = {
absolute500Path: string;
absoluteAppPath: string;
absoluteDocumentPath: string;
absoluteErrorPath: string;
absolutePagePath: string;
buildId: string;
dev: boolean;
isServerComponent: boolean;
page: string;
stringifiedConfig: string;
appDirLoader?: string;
pagesType: 'app' | 'pages' | 'root';
sriEnabled: boolean;
incrementalCacheHandlerPath?: string;
preferredRegion: string | string[] | undefined;
middlewareConfig: string;
serverActionsBodySizeLimit?: SizeLimit;
};
declare const edgeSSRLoader: webpack.LoaderDefinitionFunction<EdgeSSRLoaderQuery>;
export default edgeSSRLoader;