index.d.ts 909 B

1234567891011121314151617
  1. import type { webpack } from 'next/dist/compiled/webpack/webpack';
  2. import type { NextConfigComplete } from '../../../server/config-shared';
  3. export declare function build(config: webpack.Configuration, { supportedBrowsers, rootDirectory, customAppFile, isDevelopment, isServer, isEdgeRuntime, targetWeb, assetPrefix, sassOptions, productionBrowserSourceMaps, future, experimental, disableStaticImages, }: {
  4. supportedBrowsers: string[] | undefined;
  5. rootDirectory: string;
  6. customAppFile: RegExp | undefined;
  7. isDevelopment: boolean;
  8. isServer: boolean;
  9. isEdgeRuntime: boolean;
  10. targetWeb: boolean;
  11. assetPrefix: string;
  12. sassOptions: any;
  13. productionBrowserSourceMaps: boolean;
  14. future: NextConfigComplete['future'];
  15. experimental: NextConfigComplete['experimental'];
  16. disableStaticImages: NextConfigComplete['disableStaticImages'];
  17. }): Promise<webpack.Configuration>;