UNPKG

next

Version:

The React Framework

16 lines (15 loc) 560 B
import { webpack } from 'next/dist/compiled/webpack/webpack'; import { CustomRoutes } from '../../../lib/load-custom-routes'; export declare type ClientBuildManifest = Record<string, string[]>; export default class BuildManifestPlugin { private buildId; private rewrites; private isDevFallback; constructor(options: { buildId: string; rewrites: CustomRoutes['rewrites']; isDevFallback?: boolean; }); createAssets(compiler: any, compilation: any, assets: any): any; apply(compiler: webpack.Compiler): void; }