1 | import { webpack } from 'next/dist/compiled/webpack/webpack';
|
2 | import { CustomRoutes } from '../lib/load-custom-routes.js';
|
3 | import { NextConfig } from '../next-server/server/config';
|
4 | import { WebpackEntrypoints } from './entries';
|
5 | export declare function attachReactRefresh(webpackConfig: webpack.Configuration, targetLoader: webpack.RuleSetUseItem): void;
|
6 | export default function getBaseWebpackConfig(dir: string, { buildId, config, dev, isServer, pagesDir, target, reactProductionProfiling, entrypoints, rewrites, isDevFallback, }: {
|
7 | buildId: string;
|
8 | config: NextConfig;
|
9 | dev?: boolean;
|
10 | isServer?: boolean;
|
11 | pagesDir: string;
|
12 | target?: string;
|
13 | reactProductionProfiling?: boolean;
|
14 | entrypoints: WebpackEntrypoints;
|
15 | rewrites: CustomRoutes['rewrites'];
|
16 | isDevFallback?: boolean;
|
17 | }): Promise<webpack.Configuration>;
|