pages-manifest-plugin.d.ts 609 B

123456789101112131415161718
  1. import { webpack } from 'next/dist/compiled/webpack/webpack';
  2. export declare type PagesManifest = {
  3. [page: string]: string;
  4. };
  5. export default class PagesManifestPlugin implements webpack.WebpackPluginInstance {
  6. serverless: boolean;
  7. dev: boolean;
  8. isEdgeRuntime: boolean;
  9. appDirEnabled: boolean;
  10. constructor({ serverless, dev, isEdgeRuntime, appDirEnabled, }: {
  11. serverless: boolean;
  12. dev: boolean;
  13. isEdgeRuntime: boolean;
  14. appDirEnabled: boolean;
  15. });
  16. createAssets(compilation: any, assets: any): void;
  17. apply(compiler: webpack.Compiler): void;
  18. }