@posthog/nextjs-config
Version:
NextJS configuration helper for Posthog 🦔
14 lines (13 loc) • 480 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;
runInject(): Promise<void>;
runUpload(): Promise<void>;
}
export {};