UNPKG

next-csrf

Version:

CSRF mitigation library for Next.js

7 lines (6 loc) 291 B
import { Compiler, compilation as CompilationType, Plugin } from 'webpack'; export declare const ampFirstEntryNamesMap: WeakMap<CompilationType.Compilation, string[]>; export declare class DropClientPage implements Plugin { ampPages: Set<unknown>; apply(compiler: Compiler): void; }