UNPKG

@posthog/nextjs-config

Version:

NextJS configuration helper for Posthog 🦔

6 lines (5 loc) • 338 B
import { ResolvedPluginConfig } from '@posthog/webpack-plugin'; export declare function getNextJsVersion(): string; export declare function hasCompilerHook(): boolean; export declare function processSourceMaps(posthogOptions: ResolvedPluginConfig, directory: string): Promise<void>; export declare function isTurbopackEnabled(): boolean;