serverless-plugin.d.ts 399 B

123456789
  1. import { webpack } from 'next/dist/compiled/webpack/webpack';
  2. /**
  3. * Makes sure there are no dynamic chunks when the target is serverless
  4. * The dynamic chunks are integrated back into their parent chunk
  5. * This is to make sure there is a single render bundle instead of that bundle importing dynamic chunks
  6. */
  7. export declare class ServerlessPlugin {
  8. apply(compiler: webpack.Compiler): void;
  9. }