next-csrf
Version:
CSRF mitigation library for Next.js
21 lines (20 loc) • 566 B
TypeScript
import { loader } from 'webpack';
export declare type ServerlessLoaderQuery = {
page: string;
distDir: string;
absolutePagePath: string;
absoluteAppPath: string;
absoluteDocumentPath: string;
absoluteErrorPath: string;
buildId: string;
assetPrefix: string;
generateEtags: string;
poweredByHeader: string;
canonicalBase: string;
basePath: string;
runtimeConfig: string;
previewProps: string;
loadedEnvFiles: string;
};
declare const nextServerlessLoader: loader.Loader;
export default nextServerlessLoader;