UNPKG

next

Version:

The React Framework

16 lines (15 loc) 740 B
import { webpack } from 'next/dist/compiled/webpack/webpack'; import { NextConfigComplete } from '../../../server/config-shared'; export declare function build(config: webpack.Configuration, { rootDirectory, customAppFile, isDevelopment, isServer, webServerRuntime, targetWeb, assetPrefix, sassOptions, productionBrowserSourceMaps, future, experimental, }: { rootDirectory: string; customAppFile: RegExp; isDevelopment: boolean; isServer: boolean; webServerRuntime: boolean; targetWeb: boolean; assetPrefix: string; sassOptions: any; productionBrowserSourceMaps: boolean; future: NextConfigComplete['future']; experimental: NextConfigComplete['experimental']; }): Promise<webpack.Configuration>;