next
Version:
The React Framework
18 lines (17 loc) • 887 B
TypeScript
import { webpack } from 'next/dist/compiled/webpack/webpack';
import { NextConfigComplete } from '../../../server/config-shared';
export declare function build(config: webpack.Configuration, { supportedBrowsers, rootDirectory, customAppFile, isDevelopment, isServer, isEdgeRuntime, targetWeb, assetPrefix, sassOptions, productionBrowserSourceMaps, future, experimental, disableStaticImages, }: {
supportedBrowsers: string[] | undefined;
rootDirectory: string;
customAppFile: RegExp;
isDevelopment: boolean;
isServer: boolean;
isEdgeRuntime: boolean;
targetWeb: boolean;
assetPrefix: string;
sassOptions: any;
productionBrowserSourceMaps: boolean;
future: NextConfigComplete['future'];
experimental: NextConfigComplete['experimental'];
disableStaticImages: NextConfigComplete['disableStaticImages'];
}): Promise<webpack.Configuration>;