securityos/node_modules/next/dist/build/webpack/config/index.d.ts

21 lines
1.1 KiB
TypeScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
import type { webpack } from 'next/dist/compiled/webpack/webpack';
import type { NextConfigComplete } from '../../../server/config-shared';
export declare function buildConfiguration(config: webpack.Configuration, { hasAppDir, supportedBrowsers, rootDirectory, customAppFile, isDevelopment, isServer, isEdgeRuntime, targetWeb, assetPrefix, sassOptions, productionBrowserSourceMaps, future, transpilePackages, experimental, disableStaticImages, serverSourceMaps, }: {
hasAppDir: boolean;
supportedBrowsers: string[] | undefined;
rootDirectory: string;
customAppFile: RegExp | undefined;
isDevelopment: boolean;
isServer: boolean;
isEdgeRuntime: boolean;
targetWeb: boolean;
assetPrefix: string;
sassOptions: any;
productionBrowserSourceMaps: boolean;
transpilePackages: NextConfigComplete['transpilePackages'];
future: NextConfigComplete['future'];
experimental: NextConfigComplete['experimental'];
disableStaticImages: NextConfigComplete['disableStaticImages'];
serverSourceMaps: NextConfigComplete['experimental']['serverSourceMaps'];
}): Promise<webpack.Configuration>;