@prerenderer/webpack-plugin
Version:
Flexible, framework-agnostic static site generation for apps built with webpack.
9 lines (8 loc) • 406 B
TypeScript
import { WebpackPrerenderSPAOptions } from './Options';
import { Compiler, Compilation } from 'webpack';
export default class WebpackPrerenderSPAPlugin {
private readonly options;
constructor(options?: WebpackPrerenderSPAOptions);
prerender(compiler: Compiler, compilation: Compilation, alreadyRenderedRoutes?: Array<string>): Promise<false | undefined>;
apply(compiler: Compiler): void;
}