@posthog/nextjs-config
Version:
NextJS configuration helper for Posthog 🦔
12 lines (11 loc) • 416 B
TypeScript
import { PostHogNextConfigComplete } from './config';
type NextRuntime = 'edge' | 'nodejs' | undefined;
export declare class SourcemapWebpackPlugin {
private posthogOptions;
private isServer;
private nextRuntime;
directory: string;
constructor(posthogOptions: PostHogNextConfigComplete, isServer: boolean, nextRuntime: NextRuntime, distDir?: string);
apply(compiler: any): void;
}
export {};