UNPKG

next

Version:

The React Framework

10 lines (9 loc) 399 B
import { webpack } from 'next/dist/compiled/webpack/webpack'; /** * Makes sure there are no dynamic chunks when the target is serverless * The dynamic chunks are integrated back into their parent chunk * This is to make sure there is a single render bundle instead of that bundle importing dynamic chunks */ export declare class ServerlessPlugin { apply(compiler: webpack.Compiler): void; }